
Semiconductor Group 6-23
On-Chip Peripheral Components
C501
6.2.2.1 Timer 2 Registers
Totally six special function registers control the timer/counter 2 operation :
– TL2/TH2 and RC2L/RC2H - counter and reload/capture registers, low and high part
– T2CON and T2MOD - control and mode select registers
Special Function Register TL2 (Address CC
H
) Reset Value : 00
H
Special Function Register TH2 (Address CD
H
) Reset Value : 00
H
Special Function Register RC2L (Address CA
H
) Reset Value : 00
H
Special Function Register RC2H (Address CB
H
) Reset Value : 00
H
Bit Function
TL2.7-0 Timer 2 value low byte
The TL2 register holds the 8-bit low part of the 16-bit timer 2 count value.
TH2.7-0 Timer 2 value high byte
The TH2 register holds the 8-bit high part of the 16-bit timer 2 count value.
RC2L.7-0 Reload register low byte
CRCL is the 8-bit low byte of the 16-bit reload register of timer 2.
RC2H.7-0 Reload register high byte
CRCH is the 8-bit high byte of the 16-bit reload register of timer 2.
.7 .6 .5 .4CC
H
TL2
Bit No.
76543210
MSB LSB
.3 .2 .1 LSB
MSB.6.5.4CD
H
TH2.3 .2 .1 .0
.7 .6 .5 .4CA
H
RC2L.3 .2 .1 LSB
MSB.6.5.4CB
H
RC2H.3 .2 .1 .0
Comentarios a estos manuales