datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

T89C51RD2-3CBC-L View Datasheet(PDF) - Atmel Corporation

Part Name
Description
View to exact match
T89C51RD2-3CBC-L
Atmel
Atmel Corporation Atmel
T89C51RD2-3CBC-L Datasheet PDF : 86 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
T89C51RD2
T2CON - Timer 2 Control Register (C8h)
Table 5. T2CON Register
7
6
5
4
3
2
TF2
EXF2
RCLK
TCLK
EXEN2
TR2
1
C/T2#
0
CP/RL2#
Bit
Number
7
Bit
Mnemonic
Description
Timer 2 overflow Flag
TF2
Must be cleared by software.
Set by hardware on timer 2 overflow, if RCLK = 0 and TCLK = 0.
Timer 2 External Flag
6
EXF2
Set when a capture or a reload is caused by a negative transition on T2EX pin if EXEN2=1.
When set, causes the CPU to vector to timer 2 interrupt routine when timer 2 interrupt is enabled.
Must be cleared by software. EXF2 doesn’t cause an interrupt in Up/down counter mode (DCEN = 1)
Receive Clock bit
5
RCLK
Clear to use timer 1 overflow as receive clock for serial port in mode 1 or 3.
Set to use timer 2 overflow as receive clock for serial port in mode 1 or 3.
Transmit Clock bit
4
TCLK
Clear to use timer 1 overflow as transmit clock for serial port in mode 1 or 3.
Set to use timer 2 overflow as transmit clock for serial port in mode 1 or 3.
Timer 2 External Enable bit
3
EXEN2
Clear to ignore events on T2EX pin for timer 2 operation.
Set to cause a capture or reload when a negative transition on T2EX pin is detected, if timer 2 is not used to
clock the serial port.
Timer 2 Run control bit
2
TR2
Clear to turn off timer 2.
Set to turn on timer 2.
Timer/Counter 2 select bit
1
C/T2#
Clear for timer operation (input from internal clock system: FOSC).
Set for counter operation (input from T2 input pin, falling edge trigger). Must be 0 for clock out mode.
Timer 2 Capture/Reload bit
0
CP/RL2#
If RCLK=1 or TCLK=1, CP/RL2# is ignored and timer is forced to auto-reload on timer 2 overflow.
Clear to auto-reload on timer 2 overflows or negative transitions on T2EX pin if EXEN2=1.
Set to capture on negative transitions on T2EX pin if EXEN2=1.
Reset Value = 0000 0000b
Bit addressable
20
Rev. F - 15 February, 2001
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]