|
C508_01 Datasheet, PDF (82/267 Pages) Infineon Technologies AG – 8-Bit CMOS Microcontroller | |||
|
◁ |
C508
On-Chip Peripheral Components
6.2.1.1 Timer/Counter 0 and 1 Registers
Seven special function registers control the operation of timer/counter 0 and 1:
â TL0/TH0 and TL1/TH1 â counter registers, low and high part
â TCON and IEN0 â control and interrupt enable
â TMOD â mode select
Special Function Register TL0 (Address 8AH)
Special Function Register TH0 (Address 8CH)
Special Function Register TL1 (Address 8BH)
Special Function Register TH1 (Address 8DH)
Reset Value: 00H
Reset Value: 00H
Reset Value: 00H
Reset Value: 00H
Bit No. MSB
LSB
7
6
5
4
3
2
1
0
8AH
.7
.6
.5
.4
.3
.2
.1
.0 TL0
8CH
.7
.6
.5
.4
.3
.2
.1
.0 TH0
8BH
.7
.6
.5
.4
.3
.2
.1
.0 TL1
8DH
.7
.6
.5
.4
.3
.2
.1
.0 TH1
Bit
TLx.7-0
x = 0-1
Function
Timer/counter 0/1 low register
Operating Mode Description
0
âTLxâ holds the 5-bit prescaler value.
1
âTLxâ holds the lower 8-bit part of the 16-bit timer/counter value.
2
âTLxâ holds the 8-bit timer/counter value.
3
TL0 holds the 8-bit timer/counter value; TL1 is not used.
THx.7-0
x = 0-1
Timer/counter 0/1 high register
Operating Mode Description
0
âTHxâ holds the 8-bit timer/counter value.
1
âTHxâ holds the higher 8-bit part of the 16-bit timer/counter value.
2
âTHxâ holds the 8-bit reload value.
3
TH0 holds the 8-bit timer value; TH1 is not used.
Userâs Manual
6-17
2001-05
|
▷ |