ATmega162 Atmel Corporation, ATmega162 Datasheet - Page 156

no-image

ATmega162

Manufacturer Part Number
ATmega162
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATmega162

Flash (kbytes)
16 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
35
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Uart
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
1
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
4
Output Compare Channels
6
Input Capture Channels
2
Pwm Channels
6
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATmega162-16AI
Manufacturer:
MIT
Quantity:
170
Part Number:
ATmega162-16AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega162-16AI
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
ATmega162-16AI
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATmega162-16AJ
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega162-16AU
Manufacturer:
AVX
Quantity:
600 000
Part Number:
ATmega162-16AU
Manufacturer:
ATMEL
Quantity:
1 600
Part Number:
ATmega162-16AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega162-16AU
Manufacturer:
ATMEL
Quantity:
20 000
Part Number:
ATmega162-16AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATmega162-16MU
Manufacturer:
QFN
Quantity:
20 000
Part Number:
ATmega16216AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega162V-8PU
Manufacturer:
IDT
Quantity:
74
Timer/Counter
Prescaler
Special Function IO
Register – SFIOR
156
ATmega162/V
Figure 70. Prescaler for Timer/Counter2
The clock source for Timer/Counter2 is named clk
system I/O clock clk
clocked from the TOSC1 pin. This enables use of Timer/Counter2 as a Real Time Counter
(RTC). When AS2 is set, pins TOSC1 and TOSC2 are disconnected from Port D. A crystal can
then be connected between the TOSC1 and TOSC2 pins to serve as an independent clock
source for Timer/Counter2. The Oscillator is optimized for use with a 32.768 kHz crystal. Apply-
ing an external clock source to TOSC1 is not recommended.
For Timer/Counter2, the possible prescaled selections are: clk
clk
Setting the PSR2 bit in SFIOR resets the prescaler. This allows the user to operate with a pre-
dictable prescaler.
• Bit 1 – PSR2: Prescaler Reset Timer/Counter2
When this bit is one, the Timer/Counter2 prescaler will be reset. This bit is normally cleared
immediately by hardware. If this bit is written when Timer/Counter2 is operating in asynchronous
mode, the bit will remain one until the prescaler has been reset. The bit will not be cleared by
hardware if the TSM bit is set. Refer to the description of the
chronization Mode” on page 105
Bit
Read/Write
Initial Val-
ue
T2S
TOSC1
clk
/128, clk
PSR2
CS20
CS21
CS22
AS2
I/O
TSM
R/W
T2S
7
0
/256, and clk
XMBK
IO
R/W
6
0
. By setting the AS2 bit in ASSR, Timer/Counter2 is asynchronously
clk
T2S
XMM2
T2S
R/W
5
0
/1024. Additionally, clk
for a description of the Timer/Counter Synchronization mode.
Clear
XMM1
R/W
4
0
TIMER/COUNTER2 CLOCK SOURCE
XMM0
R/W
3
0
T2S
0
. clk
10-BIT T/C PRESCALER
T2S
PUD
R/W
T2S
2
0
clk
as well as 0 (stop) may be selected.
T2
is by default connected to the main
“Bit 7 – TSM: Timer/Counter Syn-
PSR2
R/W
1
0
T2S
/8, clk
PSR310
R/W
0
0
T2S
/32, clk
SFIOR
2513K–AVR–07/09
T2S
/64,

Related parts for ATmega162