MC81F4204
April 24, 2012 Ver.1.41 95
16. Timer 0/1
The 8-bit timer 0/1 are an 8-bit general-purpose timer. Timer 0/1 have three operating modes, you can
select one of them using the appropriate T0SCR/T1SCR setting:
- Interval timer mode (Toggle output at T0O/T1O pin)
- Capture input mode with a rising or falling edge trigger at EXT1/EXT3 pin
- PWM mode (PWM0O/PWM1O)
16.1 Registers
T0DR
TIMER 0 DATA REGISTER 00B1H
7 6 5 4 3 2 1 0
T0DR
One byte register Reset value: FFH
R/W R/W R/W R/W R/W R/W R/W R/W
A 8-bit compare value register for the timer 0 match interrupt.
T0CR
TIMER 0 COUNTER REGISTER 00B2H
7 6 5 4 3 2 1 0
T0CR
One byte register Reset value: 00H
R R R R R R R R
A 8-bit count register for the timer 0