ATMEGA162L-8PC Atmel, ATMEGA162L-8PC Datasheet - Page 154

IC MCU AVR 16K 3V 8MHZ 40-DIP

ATMEGA162L-8PC

Manufacturer Part Number
ATMEGA162L-8PC
Description
IC MCU AVR 16K 3V 8MHZ 40-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA162L-8PC

Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Data Converters
-
Timer/Counter Prescaler
Special Function IO Register –
SFIOR
154
ATmega162(V/U/L)
Figure 70. Prescaler for Timer/Counter2
The clock source for Timer/Counter2 is named clk
the main system I/O clock clk
chronously 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. Applying an external clock source to TOSC1 is not
recommended.
For Timer/Counter2, the possible prescaled selections are: clk
clk
selected. Setting the PSR2 bit in SFIOR resets the prescaler. This allows the user to
operate with a predictable 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 “Bit 7
– TSM: Timer/Counter Synchronization Mode” on page 103 for a description of the
Timer/Counter Synchronization mode.
TOSC1
Bit
Read/Write
Initial Val-
ue
clk
PSR2
CS20
CS21
CS22
T2S
AS2
I/O
/128, clk
TSM
R/W
7
0
T2S
/256, and clk
XMBK
R/W
clk
6
0
T2S
IO
XMM2
. By setting the AS2 bit in ASSR, Timer/Counter2 is asyn-
T2S
R/W
5
0
Clear
/1024. Additionally, clk
XMM1
R/W
TIMER/COUNTER2 CLOCK SOURCE
4
0
0
XMM0
R/W
3
0
10-BIT T/C PRESCALER
T2S
clk
. clk
T2
PUD
R/W
T2S
2
0
T2S
as well as 0 (stop) may be
is by default connected to
T2S
PSR2
R/W
/8, clk
1
0
T2S
PSR310
R/W
/32, clk
0
0
2513C–AVR–09/02
T2S
SFIOR
/64,

Related parts for ATMEGA162L-8PC