Professional Documents
Culture Documents
ATmega48/88/168/328 etc.
TCNT1
Timer/Counter0 and Timer/Counter1 Timer/Counter1 Register
Prescaler
TCNT1H
System Clock
clkI/O
Prescaler 15 14 13 12 11 10 9 8
clkT1
TCNT1L
External Clock TIFR1
T0
7 6 5 4 3 2 1 0 Timer/Counter1 Interrupt Flag Register
I T H S V N Z C
TCCR1A PORTB
Timer/Counter1 Control Register A Alternate Functions
TCCR1B
Timer/Counter1 Control Register B Compare Output Mode Waveform Generation Mode
ICNC1 ICES1 WGM13 WGM12 CS12 CS11 CS10 COM1A1 COM1A0 non-PWM Mode Mode WGM13 WGM12 WGM11 WGM10
Timer / Counter
TOP
Update of TOV1 Flag
(WGM modes 0, 4, and 12) Mode of Operation OCR1A at Set on
0 0 Normal Port Operation, OC1A disconnected This work is licensed under the Creative Commons Attribution-ShareAlike License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/
Modes 9 or 11: Toggle OC1A on Compare Match
0 1
All other modes: Normal Port Operation, OC1A disconnected
Clear OC1A on Compare Match when up-counting.
1 0
Set OC1A on Compare Match when down-counting.
ATmega328 Timer-Counter1 Compare Match A
22 February 2010
Set OC1A on Compare Match when up-counting.
1 1 Copyright © 2009-2010 Donald Weiman
Clear OC1A on Compare Match when down-counting.