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

C8051F339 参数 Datasheet PDF下载

C8051F339图片预览
型号: C8051F339
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用:
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F339的Datasheet PDF文件第195页浏览型号C8051F339的Datasheet PDF文件第196页浏览型号C8051F339的Datasheet PDF文件第197页浏览型号C8051F339的Datasheet PDF文件第198页浏览型号C8051F339的Datasheet PDF文件第200页浏览型号C8051F339的Datasheet PDF文件第201页浏览型号C8051F339的Datasheet PDF文件第202页浏览型号C8051F339的Datasheet PDF文件第203页  
C8051F336/7/8/9  
24.2.3. Low-Frequency Oscillator (LFO) Capture Mode  
The Low-Frequency Oscillator Capture Mode allows the LFO clock to be measured against the system  
clock or an external oscillator source. Timer 2 can be clocked from the system clock, the system clock  
divided by 12, or the external oscillator divided by 8, depending on the T2ML (CKCON.4), and T2XCLK  
settings.  
Setting TF2CEN to ‘1’ enables the LFO Capture Mode for Timer 2. In this mode, T2SPLIT should be set to  
‘0’, as the full 16-bit timer is used. Upon a falling edge of the low-frequency oscillator, the contents of Timer  
2 (TMR2H:TMR2L) are loaded into the Timer 2 reload registers (TMR2RLH:TMR2RLL) and the TF2H flag  
is set. By recording the difference between two successive timer capture values, the LFO clock frequency  
can be determined with respect to the Timer 2 clock. The Timer 2 clock should be much faster than the  
LFO to achieve an accurate reading.  
CKCON  
T T T T T T S S  
3 3 2 2 1 0 C C  
T2XCLK  
MM MM MM A A  
H L H L  
1 0  
SYSCLK / 12  
0
1
0
1
TCLK  
TR2  
TMR2L  
TMR2H  
External Clock / 8  
SYSCLK  
Capture  
TF2CEN  
Low-Frequency  
Oscillator  
TF2H  
TF2L  
TF2LEN  
TF2CEN  
T2SPLIT  
TR2  
Interrupt  
TMR2RLL TMR2RLH  
T2XCLK  
Figure 24.6. Timer 2 Low-Frequency Oscillation Capture Mode Block Diagram  
Rev. 0.2  
199