ATMEGA165-16AI Atmel, ATMEGA165-16AI Datasheet - Page 84

IC AVR MCU 16K 16MHZ 64TQFP

ATMEGA165-16AI

Manufacturer Part Number
ATMEGA165-16AI
Description
IC AVR MCU 16K 16MHZ 64TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA165-16AI

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
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
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA165-16AI
Manufacturer:
Atmel
Quantity:
10 000
Timer/Counter Timing
Diagrams
2573G–AVR–07/09
The Timer/Counter is a synchronous design and the timer clock (clk
shown as a clock enable signal in the following figures. The figures include information
on when Interrupt Flags are set. Figure 34 contains timing data for basic Timer/Counter
operation. The figure shows the count sequence close to the MAX value in all modes
other than phase correct PWM mode.
Figure 34. Timer/Counter Timing Diagram, no Prescaling
Figure 35 shows the same timing data, but with the prescaler enabled.
Figure 35. Timer/Counter Timing Diagram, with Prescaler (f
Figure 36 shows the setting of OCF0A in all modes except CTC mode.
Figure 36. Timer/Counter Timing Diagram, Setting of OCF0A, with Prescaler (f
TCNTn
TCNTn
TCNTn
(clk
(clk
(clk
OCRnx
TOVn
TOVn
OCFnx
clk
clk
clk
clk
clk
clk
I/O
I/O
I/O
The timer starts counting from a value higher than the one in OCR0A, and for that
reason misses the Compare Match and hence the OCn change that would have
happened on the way up.
I/O
Tn
I/O
Tn
I/O
Tn
/1)
/8)
/8)
OCRnx - 1
MAX - 1
MAX - 1
OCRnx
MAX
MAX
OCRnx Value
OCRnx + 1
BOTTOM
BOTTOM
clk_I/O
ATmega165/V
/8)
T0
) is therefore
BOTTOM + 1
BOTTOM + 1
OCRnx + 2
clk_I/O
/8)
84

Related parts for ATMEGA165-16AI