XC886/888CLM
Memory Organization
User’s Manual
3-33
V1.3, 2010-02
Memory Organization, V 1.2
3.5.5.8
Timer 2 Registers
The Timer 2 SFRs can be accessed in the standard memory area (RMAP = 0).
3.5.5.9
Timer 21 Registers
The Timer 21 SFRs can be accessed in the mapped memory area (RMAP = 1).
Table 3-10
T2 Register Overview
Addr Register Name
Bit
7
6
5
4
3
2
1
0
RMAP = 0
C0H
T2_T2CON
Reset: 00H
Timer 2 Control Register
Bit Field
TF2
EXF2
0
EXEN
2
TR2
C/T2
CP/
RL2
Type
rwh
rwh
r
rw
rwh
rw
rw
C1H
T2_T2MOD
Reset: 00H
Timer 2 Mode Register
Bit Field
T2RE
GS
T2RH
EN
EDGE
SEL
PREN
T2PRE
DCEN
Type
rw
rw
rw
rw
rw
rw
rw
rw
C2H
T2_RC2L
Reset: 00H
Timer 2 Reload/Capture
Register Low
Bit Field
RC2
Type
rwh
C3H
T2_RC2H
Reset: 00H
Timer 2 Reload/Capture
Register High
Bit Field
RC2
Type
rwh
C4H
T2_T2L
Reset: 00H
Timer 2 Register Low
Bit Field
THL2
Type
rwh
C5H
T2_T2H
Reset: 00H
Timer 2 Register High
Bit Field
THL2
Type
rwh
Table 3-11
T21 Register Overview
Addr Register Name
Bit
7
6
5
4
3
2
1
0
RMAP = 1
C0H
T21_T2CON
Reset: 00H
Timer 2 Control Register
Bit Field
TF2
EXF2
0
EXEN
2
TR2
C/T2
CP/
RL2
Type
rwh
rwh
r
rw
rwh
rw
rw
C1H
T21_T2MOD
Reset: 00H
Timer 2 Mode Register
Bit Field
T2RE
GS
T2RH
EN
EDGE
SEL
PREN
T2PRE
DCEN
Type
rw
rw
rw
rw
rw
rw
rw
rw
C2H
T21_RC2L
Reset: 00H
Timer 2 Reload/Capture
Register Low
Bit Field
RC2
Type
rwh
C3H
T21_RC2H
Reset: 00H
Timer 2 Reload/Capture
Register High
Bit Field
RC2
Type
rwh
C4H
T21_T2L
Reset: 00H
Timer 2 Register Low
Bit Field
THL2
Type
rwh
*