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

C8051F345 参数 Datasheet PDF下载

C8051F345图片预览
型号: C8051F345
PDF下载: 下载PDF文件 查看货源
内容描述: 全速USB闪存单片机系列 [Full Speed USB Flash MCU Family]
分类和应用: 闪存
文件页数/大小: 288 页 / 3090 K
品牌: SILABS [ SILICON LABORATORIES ]
 浏览型号C8051F345的Datasheet PDF文件第137页浏览型号C8051F345的Datasheet PDF文件第138页浏览型号C8051F345的Datasheet PDF文件第139页浏览型号C8051F345的Datasheet PDF文件第140页浏览型号C8051F345的Datasheet PDF文件第142页浏览型号C8051F345的Datasheet PDF文件第143页浏览型号C8051F345的Datasheet PDF文件第144页浏览型号C8051F345的Datasheet PDF文件第145页  
C8051F340/1/2/3/4/5/6/7
SFR Definition 14.2. OSCICL: Internal H-F Oscillator Calibration
R/W
R/W
R/W
R/W
Bit4
R/W
Bit3
R/W
R/W
Bit1
R/W
Bit0
Reset Value
-
Bit7
-
Bit6
-
Bit5
OSCCAL
Bit2
Variable
SFR Address:
0xB3
Bits4–0: OSCCAL: Oscillator Calibration Value
These bits determine the internal H-F oscillator period. When set to 00000b, the oscillator
operates at its fastest setting. When set to 11111b, the oscillator operates at is slowest set-
ting. The contents of this register are factory calibrated to produce a 12 MHz internal oscilla-
tor frequency.
Note: The contents of this register are undefined when Clock Recovery is enabled. See
for details on Clock Recovery.
14.2. Programmable Internal Low-Frequency (L-F) Oscillator
The C8051F340/1/2/3/4/5 devices include a programmable internal oscillator which operates at 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 Definition 14.3). Addi-
tionally, the OSCLF bits (OSCLCN5:2) can be used to adjust the oscillator’s output frequency.
14.2.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 period.
Rev. 1.0
141