atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 99

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
13.8
13.8.1
7766A–AVR–03/08
8-bit Timer/Counter Register Description
Timer/Counter Control Register A – TCCR0A
Figure 13-9. Timer/Counter Timing Diagram, with Prescaler (f
Figure 13-10
mode and PWM mode, where OCR0A is TOP.
Figure 13-10. Timer/Counter Timing Diagram, Setting of OCF0x, with Prescaler (f
Figure 13-11
PWM mode where OCR0A is TOP.
Figure 13-11. Timer/Counter Timing Diagram, Clear Timer on Compare Match mode, with Pres-
Bit
Read/Write
TCNTn
TCNTn
TCNTn
(clk
(clk
(clk
OCRnx
OCRnx
TOVn
OCFnx
(CTC)
OCFnx
clk
clk
clk
clk
clk
clk
I/O
I/O
I/O
I/O
Tn
I/O
Tn
I/O
Tn
/8)
/8)
/8)
7
COM0A
1
R/W
shows the setting of OCF0B in all modes and OCF0A in all modes except CTC
shows the setting of OCF0A and the clearing of TCNT0 in CTC mode and fast
caler (f
clk_I/O
6
COM0A
0
R/W
OCRnx - 1
MAX - 1
TOP - 1
/8)
5
COM0B
1
R/W
4
COM0B
0
R/W
OCRnx
MAX
TOP
3
R
OCRnx Value
TOP
2
R
OCRnx + 1
BOTTOM
BOTTOM
clk_I/O
R/W
1
WGM0
1
/8)
ATmega32U4
0
WGM0
0
R/W
BOTTOM + 1
BOTTOM + 1
OCRnx + 2
TCCR0A
clk_I/O
/8)
99

Related parts for atmega32u4-16mu