Philips Semiconductors
8-bit microcontroller
Product specification
P83C562; P80C562
12.2.1 T2 CONTROL REGISTER (TM2CON)
Table 12 T2 Control Register (SFR address EAH)
7
T2IS1
6
T2IS0
5
T2ER
4
T2B0
3
T2P1
2
T2P0
Table 13 Description of TM2CON bits
BIT
SYMBOL
DESCRIPTION
7
T2IS1
Timer 2 16-bit overflow interrupt select.
6
T2IS0
Timer 2 byte overflow interrupt select.
5
T2ER
Timer 2 external reset enable.
4
T2B0
Timer 2 byte overflow interrupt flag.
3
T2P1
Timer 2 prescaler select (see Table 14).
2
T2P0
1
T2MS1
Timer 2 mode select (see Table 15).
0
T2MS0
Table 14 Timer 2 prescaler select
T2P1
0
0
1
1
T2P0
0
1
0
1
Clock source
1⁄2 clock source
1⁄4 clock source
1⁄8 clock source
T2 CLOCK
Table 15 Timer 2 mode select
T2MS1
0
0
1
1
T2MS0
0
1
0
1
Timer T2 is halted
T2 clock source = 1⁄12 × fOSC
Test mode; do not use
T2 clock source = pin T2
MODE
1
T2MS1
0
T2MS0
1997 Apr 08
20