EasyManuals Logo

Atmel 8051 User Manual

Atmel 8051
113 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #85 background imageLoading...
Page #85 background image
Common Features Description
Atmel 8051 Microcontrollers Hardware Manual 2-84
4316B–8051–02/04
Reset Value = 0000 0000b
Table 2-4. TH0 Register - TH0 (S:8Ch)
Timer 0 High Byte Register.
Reset Value = 0000 0000b
Table 2-5. TL0 Register - TL0 (S:8Ah)
Timer 0 Low Byte Register
Reset Value = 0000 0000b
Bit Number Bit Mnemonic Description
7GATE1
Timer 1 Gating Control Bit
Clear to enable timer 1 whenever the TR1 bit is set.
Set to enable timer 1 only while the INT1# pin is high and TR1 bit is set.
6C/T1#
Timer 1 Counter/Timer Select Bit
Clear for timer operation: timer 1 counts the divided-down system clock.
Set for Counter operation: timer 1 counts negative transitions on external pin T1.
5M11Timer 1 Mode Select Bits
M11
M01 Operating mode
0 0 Mode 0: 8-bit timer/counter (TH1) with 5-bit prescaler (TL1).
0 1 Mode 1: 16-bit timer/counter.
1 0 Mode 2: 8-bit auto-reload timer/counter (TL1). Reloaded from TH1 at overflow.
1 1 Mode 3: timer 1 halted. Retains count.
4M01
3GATE0
Timer 0 Gating Control Bit
Clear to enable timer 0 whenever the TR0 bit is set.
Set to enable timer/counter 0 only while the INT0# pin is high and the TR0 bit is set.
2C/T0#
Timer 0 Counter/Timer Select Bit
Clear for timer operation: timer 0 counts the divided-down system clock.
Set for counter operation: timer 0 counts negative transitions on external pin T0.
1M10Timer 0 Mode Select Bit
M10
M00 Operating mode
0 0 Mode 0: 8-bit timer/counter (TH0) with 5-bit prescaler (TL0).
0 1 Mode 1: 16-bit timer/counter.
1 0 Mode 2: 8-bit auto-reload timer/counter (TL0). Reloaded from TH0 at overflow.
1 1 Mode 3: TL0 is an 8-bit timer/counter.
TH0 is an 8-bit timer using timer 1’s TR0 and TF0 bits.
0M00
76543210
Bit
Number
Bit
Mnemonic Description
7:0 High Byte of Timer 0.
76543210
Bit
Number
Bit
Mnemonic Description
7:0 Low Byte of Timer 0.

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Atmel 8051 and is the answer not in the manual?

Atmel 8051 Specifications

General IconGeneral
BrandAtmel
Model8051
CategoryMicrocontrollers
LanguageEnglish

Related product manuals