Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

AT90PWM2-16SQ View Datasheet(PDF) - Atmel Corporation

Part Name
Description
MFG CO.
'AT90PWM2-16SQ' PDF : 365 Pages View PDF
AT90PWM2/3/2B/3B
Figure 14-9. Timer/Counter Timing Diagram, with Prescaler (fclk_I/O/8)
clkI/O
clkTn
(clkI/O/8)
TCNTn
MAX - 1
MAX
BOTTOM
TOVn
BOTTOM + 1
Figure 14-10 shows the setting of OCF0B in all modes and OCF0A in all modes except CTC
mode and PWM mode, where OCR0A is TOP.
Figure 14-10. Timer/Counter Timing Diagram, Setting of OCF0x, with Prescaler (fclk_I/O/8)
clkI/O
clkTn
(clkI/O/8)
TCNTn
OCRnx - 1
OCRnx
OCRnx + 1
OCRnx + 2
OCRnx
OCRnx Value
OCFnx
Figure 14-11 shows the setting of OCF0A and the clearing of TCNT0 in CTC mode and fast
PWM mode where OCR0A is TOP.
Figure 14-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres-
caler (fclk_I/O/8)
clkI/O
clkTn
(clkI/O/8)
TCNTn
(CTC)
OCRnx
TOP - 1
TOP
TOP
BOTTOM
BOTTOM + 1
OCFnx
14.8 8-bit Timer/Counter Register Description
14.8.1 Timer/Counter Control Register A – TCCR0A
Bit
7
6
5
4
3
COM0A1 COM0A0 COM0B1 COM0B0
Read/Write
R/W
R/W
R/W
R/W
R
Initial Value
0
0
0
0
0
4317K–AVR–03/2013
2
1
0
WGM01 WGM00 TCCR0A
R
R/W
R/W
0
0
0
97
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]