欢迎访问ic37.com |
会员登录 免费注册
发布采购

89C51RC2-UL 参数 Datasheet PDF下载

89C51RC2-UL图片预览
型号: 89C51RC2-UL
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器,带有16K / 32K字节的闪存 [8-bit Microcontroller with 16K/ 32K Bytes Flash]
分类和应用: 闪存微控制器
文件页数/大小: 127 页 / 1478 K
品牌: ATMEL [ ATMEL ]
 浏览型号89C51RC2-UL的Datasheet PDF文件第25页浏览型号89C51RC2-UL的Datasheet PDF文件第26页浏览型号89C51RC2-UL的Datasheet PDF文件第27页浏览型号89C51RC2-UL的Datasheet PDF文件第28页浏览型号89C51RC2-UL的Datasheet PDF文件第30页浏览型号89C51RC2-UL的Datasheet PDF文件第31页浏览型号89C51RC2-UL的Datasheet PDF文件第32页浏览型号89C51RC2-UL的Datasheet PDF文件第33页  
AT89C51RB2/RC2  
Registers  
Table 20. T2CON Register  
T2CON – Timer 2 Control Register (C8h)  
7
6
5
4
3
2
1
0
TF2  
EXF2  
RCLK  
TCLK  
EXEN2  
TR2  
C/T2#  
CP/RL2#  
Bit  
Bit  
Number  
Mnemonic Description  
Timer 2 Overflow Flag  
7
6
TF2  
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.  
EXF2  
Must be cleared by software. EXF2 doesn’t cause an interrupt in Up/down  
counter mode (DCEN = 1).  
Receive Clock Bit  
5
4
RCLK  
TCLK  
Cleared 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  
Cleared 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  
Cleared 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.  
3
2
1
EXEN2  
TR2  
Timer 2 Run Control Bit  
Cleared to turn off Timer 2.  
Set to turn on Timer 2.  
Timer/Counter 2 Select Bit  
Cleared for timer operation (input from internal clock system: FCLK PERIPH).  
Set for counter operation (input from T2 input pin, falling edge trigger). Must be 0  
for clock out mode.  
C/T2#  
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.  
Cleared to auto-reload on Timer 2 overflows or negative transitions on T2EX pin  
if EXEN2 = 1.  
0
CP/RL2#  
Set to capture on negative transitions on T2EX pin if EXEN2 = 1.  
Reset Value = 0000 0000b  
Bit addressable  
29  
4180E–8051–10/06  
 复制成功!