ATTIny2313-16MI ATMEL Corporation, ATTIny2313-16MI Datasheet - Page 103

no-image

ATTIny2313-16MI

Manufacturer Part Number
ATTIny2313-16MI
Description
8-bit AVR Microcontroller with 2K Bytes In-System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
Timer/Counter Timing
Diagrams
2543C–AVR–12/03
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, and when the OCR1x Register is updated with the
OCR1x buffer value (only for modes utilizing double buffering). Figure 48 shows a timing
diagram for the setting of OCF1x.
Figure 48. Timer/Counter Timing Diagram, Setting of OCF1x, no Prescaling
Figure 49 shows the same timing data, but with the prescaler enabled.
Figure 49. Timer/Counter Timing Diagram, Setting of OCF1x, with Prescaler (f
Figure 50 shows the count sequence close to TOP in various modes. When using phase
and frequency correct PWM mode the OCR1x Register is updated at BOTTOM. The
timing diagrams will be the same, but TOP should be replaced by BOTTOM, TOP-1 by
BOTTOM+1 and so on. The same renaming applies for modes that set the TOV1 flag at
BOTTOM.
TCNTn
OCRnx
OCFnx
OCRnx
(clk
TCNTn
OCFnx
(clk
clk
clk
clk
clk
I/O
I/O
I/O
Tn
I/O
Tn
/1)
/8)
OCRnx - 1
OCRnx - 1
OCRnx
OCRnx
OCRnx Value
OCRnx Value
OCRnx + 1
OCRnx + 1
ATtiny2313/V
T1
OCRnx + 2
OCRnx + 2
) is therefore
clk_I/O
103
/8)

Related parts for ATTIny2313-16MI