MC81F4x16
19. Timer 2/3
The 8-bit timer 2/3 are an 8-bit general-purpose timer. Timer 2/3 have two operating modes, you can
select one of them using the appropriate T2SCR/T3SCR setting:
- Interval timer mode (Toggle output at T2O pin)
- Capture input mode with a rising or falling edge trigger at EXT5/6 pin
19.1 Registers
T2DR
TIMER 2 DATA REGISTER
00B7H
7
6
5
4
3
2
1
0
T2DR
One byte register
R/W R/W
Reset value: FFH
R/W
R/W
R/W
R/W
R/W
R/W
A 8-bit compare value register for the timer 2 match interrupt.
T2CR
TIMER 2 COUNTER REGISTER
00B8H
7
6
5
4
3
2
1
0
T2CR
One byte register
Reset value: 00H
R
R
R
R
R
R
R
R
A 8-bit count register for the timer 2
October 19, 2009 Ver.1.35
127