|
C501_1 Datasheet, PDF (49/121 Pages) Siemens Semiconductor Group – 8-Bit Single-Chip Microcontroller | |||
|
◁ |
On-Chip Peripheral Components
C501
6.2.1.1 Timer/Counter 0 and 1 Registers
Totally six special function registers control the timer/counter 0 and 1 operation :
â TL0/TH0 and TL1/TH1 - counter registers, low and high part
â TCON and TMOD - control and mode select registers
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
THx.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.
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.
Semiconductor Group
6-15
|
▷ |