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

SN8P2742PB 参数 Datasheet PDF下载

SN8P2742PB图片预览
型号: SN8P2742PB
PDF下载: 下载PDF文件 查看货源
内容描述: [ADC, OP-amp, Comparator 8-Bit Micro-Controller]
分类和应用:
文件页数/大小: 136 页 / 3074 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P2742PB的Datasheet PDF文件第43页浏览型号SN8P2742PB的Datasheet PDF文件第44页浏览型号SN8P2742PB的Datasheet PDF文件第45页浏览型号SN8P2742PB的Datasheet PDF文件第46页浏览型号SN8P2742PB的Datasheet PDF文件第48页浏览型号SN8P2742PB的Datasheet PDF文件第49页浏览型号SN8P2742PB的Datasheet PDF文件第50页浏览型号SN8P2742PB的Datasheet PDF文件第51页  
SN8P2740 Series  
ADC, OP-amp, Comparator 8-Bit Micro-Controller  
4.5 OSCM REGISTER  
The OSCM register is an oscillator control register. It controls oscillator status, system mode.  
095H  
OSCM  
Read/Write  
After reset  
Bit 7  
0
-
Bit 6  
0
-
Bit 5  
0
-
Bit 4  
CPUM1  
R/W  
Bit 3  
CPUM0  
R/W  
Bit 2  
CLKMD  
R/W  
Bit 1  
STPHX  
R/W  
Bit 0  
0
-
-
-
-
0
0
0
0
-
Bit 1  
STPHX: External high-speed oscillator control bit.  
0 = External high-speed oscillator free run.  
1 = External high-speed oscillator free run stop. Internal low-speed RC oscillator is still running.  
Bit 2  
CLKMD: System high/Low clock mode control bit.  
0 = Normal (dual) mode. System clock is high clock.  
1 = Slow mode. System clock is internal low clock.  
Bit[4:3]  
CPUM[1:0]: CPU operating mode control bits.  
00 = normal.  
01 = sleep (power down) mode.  
10 = green mode.  
11 = reserved.  
STPHXbit controls internal high speed RC type oscillator and external oscillator operations. When STPHX=0, the  
external oscillator or internal high speed RC type oscillator active. When STPHX=1, the external oscillator or internal  
high speed RC type oscillator are disabled. The STPHX function is depend on different high clock options to do  
different controls.  
IHRC_16M: STPHX=1disables internal high speed RC type oscillator.  
RC, 4M, 12M, 32K: STPHX=1disables external oscillator.  
4.6 SYSTEM CLOCK MEASUREMENT  
Under design period, the users can measure system clock speed by software instruction cycle (Fcpu). This way is  
useful in RC mode.  
Example: Fcpu instruction cycle of external oscillator.  
B0BSET  
P0M.0  
; Set P0.0 to be output mode for outputting Fcpu toggle signal.  
@@:  
B0BSET  
B0BCLR  
JMP  
P0.0  
P0.0  
@B  
; Output Fcpu toggle signal in low-speed clock mode.  
; Measure the Fcpu frequency by oscilloscope.  
Note: Do not measure the RC frequency directly from XIN; the probe impendence will affect the RC  
frequency.  
SONiX TECHNOLOGY CO., LTD  
Page 47  
Version 2.0  
 复制成功!