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

C8051F336 参数 Datasheet PDF下载

C8051F336图片预览
型号: C8051F336
PDF下载: 下载PDF文件 查看货源
内容描述: 混合信号ISP功能的Flash MCU系列 [Mixed Signal ISP Flash MCU Family]
分类和应用: 微控制器和处理器外围集成电路
文件页数/大小: 234 页 / 3348 K
品牌: SILICON [ SILICON ]
 浏览型号C8051F336的Datasheet PDF文件第116页浏览型号C8051F336的Datasheet PDF文件第117页浏览型号C8051F336的Datasheet PDF文件第118页浏览型号C8051F336的Datasheet PDF文件第119页浏览型号C8051F336的Datasheet PDF文件第121页浏览型号C8051F336的Datasheet PDF文件第122页浏览型号C8051F336的Datasheet PDF文件第123页浏览型号C8051F336的Datasheet PDF文件第124页  
C8051F336/7/8/9  
19.3. Programmable Internal Low-Frequency (L-F) Oscillator  
All C8051F336/7/8/9 devices include a programmable low-frequency internal oscillator, which is calibrated  
to a nominal frequency of 80 kHz. The low-frequency oscillator circuit includes a divider that can be  
changed to divide the clock by 1, 2, 4, or 8, using the OSCLD bits in the OSCLCN register (see SFR Defi-  
nition 19.4). Additionally, the OSCLF[3:0] bits can be used to adjust the oscillator’s output frequency.  
19.3.1. Calibrating the Internal L-F Oscillator  
Timers 2 and 3 include capture functions that can be used to capture the oscillator frequency, when run-  
ning from a known time base. When either Timer 2 or Timer 3 is configured for L-F Oscillator Capture  
Mode, a falling edge (Timer 2) or rising edge (Timer 3) of the low-frequency oscillator’s output will cause a  
capture event on the corresponding timer. As a capture event occurs, the current timer value  
(TMRnH:TMRnL) is copied into the timer reload registers (TMRnRLH:TMRnRLL). By recording the differ-  
ence between two successive timer capture values, the low-frequency oscillator’s period can be calcu-  
lated. The OSCLF bits can then be adjusted to produce the desired oscillator frequency.  
SFR Definition 19.4. OSCLCN: Internal L-F Oscillator Control  
Bit  
7
6
5
4
3
2
1
0
Name OSCLEN OSCLRDY  
OSCLF[3:0]  
R.W  
OSCLD[1:0]  
R/W  
Type  
R/W  
0
R
0
Reset  
Varies  
Varies  
Varies  
Varies  
0
0
SFR Address = 0xE3;  
Bit  
Name  
Function  
7
OSCLEN  
Internal L-F Oscillator Enable.  
0: Internal L-F Oscillator Disabled.  
1: Internal L-F Oscillator Enabled.  
6
OSCLRDY Internal L-F Oscillator Ready.  
0: Internal L-F Oscillator frequency not stabilized.  
1: Internal L-F Oscillator frequency stabilized.  
5:2 OSCLF[3:0] Internal L-F Oscillator Frequency Control bits.  
Fine-tune control bits for the Internal L-F oscillator frequency. When set to 0000b, the  
L-F oscillator operates at its fastest setting. When set to 1111b, the L-F oscillator  
operates at its slowest setting.  
1:0 OSCLD[1:0] Internal L-F Oscillator Divider Select.  
00: Divide by 8 selected.  
01: Divide by 4 selected.  
10: Divide by 2 selected.  
11: Divide by 1 selected.  
120  
Rev. 0.2  
 复制成功!