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

C8051F530-IM 参数 Datasheet PDF下载

C8051F530-IM图片预览
型号: C8051F530-IM
PDF下载: 下载PDF文件 查看货源
内容描述: 8/4/2 KB ISP功能的Flash MCU系列 [8/4/2 kB ISP Flash MCU Family]
分类和应用:
文件页数/大小: 220 页 / 2701 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F530-IM的Datasheet PDF文件第192页浏览型号C8051F530-IM的Datasheet PDF文件第193页浏览型号C8051F530-IM的Datasheet PDF文件第194页浏览型号C8051F530-IM的Datasheet PDF文件第195页浏览型号C8051F530-IM的Datasheet PDF文件第197页浏览型号C8051F530-IM的Datasheet PDF文件第198页浏览型号C8051F530-IM的Datasheet PDF文件第199页浏览型号C8051F530-IM的Datasheet PDF文件第200页  
C8051F52x-53x  
SFR Definition 19.8. TMR2CN: Timer 2 Control  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
R/W  
Reset Value  
TF2H  
TF2L  
TF2LEN TF2CEN T2SPLIT  
TR2  
T2RCLK T2XCLK 00000000  
Bit  
Bit7  
Bit6  
Bit5  
Bit4  
Bit3  
Bit2  
Bit1  
Bit0  
Addressable  
SFR Address:  
0xC8  
Bit7:  
TF2H: Timer 2 High Byte Overflow Flag.  
Set by hardware when the Timer 2 high byte overflows from 0xFF to 0x00. In 16 bit mode,  
this will occur when Timer 2 overflows from 0xFFFF to 0x0000. When the Timer 2 interrupt is  
enabled, setting this bit causes the CPU to vector to the Timer 2 interrupt service routine.  
TF2H is not automatically cleared by hardware and must be cleared by software.  
TF2L: Timer 2 Low Byte Overflow Flag.  
Set by hardware when the Timer 2 low byte overflows from 0xFF to 0x00. When this bit is  
set, an interrupt will be generated if TF2LEN is set and Timer 2 interrupts are enabled. TF2L  
will set when the low byte overflows regardless of the Timer 2 mode. This bit is not automat-  
ically cleared by hardware.  
Bit6:  
Bit5:  
TF2LEN: Timer 2 Low Byte Interrupt Enable.  
This bit enables/disables Timer 2 Low Byte interrupts. If TF2LEN is set and Timer 2 inter-  
rupts are enabled, an interrupt will be generated when the low byte of Timer 2 overflows.  
This bit should be cleared when operating Timer 2 in 16-bit mode.  
0: Timer 2 Low Byte interrupts disabled.  
1: Timer 2 Low Byte interrupts enabled.  
Bit4:  
Bit3:  
TF2CEN. Timer 2 Capture Enable.  
0: Timer 2 capture mode disabled.  
1: Timer 2 capture mode enabled.  
T2SPLIT: Timer 2 Split Mode Enable.  
When this bit is set, Timer 2 operates as two 8-bit timers with auto-reload.  
0: Timer 2 operates in 16-bit auto-reload mode.  
1: Timer 2 operates as two 8-bit auto-reload timers.  
Bit2:  
Bit1:  
TR2: Timer 2 Run Control.  
This bit enables/disables Timer 2. In 8-bit mode, this bit enables/disables TMR2H only;  
TMR2L is always enabled in this mode.  
0: Timer 2 disabled.  
1: Timer 2 enabled.  
T2RCLK: Timer 2 Capture Mode.  
This bit controls the Timer 2 capture source when TF2CEN=1. If T2XCLK = 1 and T2ML  
(CKCON.4) = 0, this bit also controls the clock source for Timer 2.  
0: Capture every RTC clock/8. If T2XCLK = 1 and T2ML (CKCON.4) = 0, count at external  
oscillator/8.  
1: Capture every external oscillator/8. If T2XCLK = 1 and T2ML (CKCON.4) = 0, count at  
RTC0 clock/8.  
Bit0:  
T2XCLK: Timer 2 External Clock Select.  
This bit selects the external clock source for Timer 2. If Timer 2 is in 8-bit mode, this bit  
selects the external oscillator clock source for both timer bytes. However, the Timer 2 Clock  
Select bits (T2MH and T2ML in register CKCON) may still be used to select between the  
external clock and the system clock for either timer.  
0: Timer 2 external clock selection is the system clock divided by 12.  
1: Timer 2 external clock uses the clock defined by the T2RCLK bit.  
196  
Rev. 0.3  
 复制成功!