TS87C52X2 ATMEL Corporation, TS87C52X2 Datasheet - Page 15

no-image

TS87C52X2

Manufacturer Part Number
TS87C52X2
Description
8-bit Microcontroller 8 Kbytes Otp
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TS87C52X2-LCA
Quantity:
358
Part Number:
TS87C52X2-LCB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C52X2-LCB
Manufacturer:
ATMEL
Quantity:
1 031
Part Number:
TS87C52X2-LCB
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
TS87C52X2-LCC
Manufacturer:
TEMIC
Quantity:
330
Part Number:
TS87C52X2-LCC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C52X2-LCE
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C52X2-LIB
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
TS87C52X2-MCA
Manufacturer:
TEMIC
Quantity:
20 000
Part Number:
TS87C52X2-MCB
Manufacturer:
AT
Quantity:
39
Part Number:
TS87C52X2-MCE
Manufacturer:
TEMIC
Quantity:
300
Part Number:
TS87C52X2-MIA
Manufacturer:
TEMIC
Quantity:
256
4184E–8051–09/02
Table 5. T2CON Register
T2CON - Timer 2 Control Register (C8h)
Reset Value = 0000 0000b
Bit addressable
Number
Bit
TF2
7
6
5
4
3
2
1
0
7
Mnemonic Description
CP/RL2#
EXEN2
C/T2#
RCLK
EXF2
TCLK
TR2
Bit
TF2
EXF2
6
Timer 2 overflow Flag
Must be cleared by software.
Set by hardware on timer 2 overflow, if RCLK = 0 and TCLK = 0.
Timer 2 External Flag
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
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
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
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
Clear to turn off timer 2.
Set to turn on timer 2.
Timer/Counter 2 select bit
Clear for timer operation (input from internal clock system: F
Set for counter operation (input from T2 input pin, falling edge trigger). Must be 0
for clock out mode.
Timer 2 Capture/Reload bit
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.
RCLK
5
TCLK
4
EXEN2
3
TR2
2
TS8xCx2X2
C/T2#
OSC
1
).
CP/RL2#
0
15

Related parts for TS87C52X2