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

SN8F2250B 参数 Datasheet PDF下载

SN8F2250B图片预览
型号: SN8F2250B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 133 页 / 1554 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F2250B的Datasheet PDF文件第49页浏览型号SN8F2250B的Datasheet PDF文件第50页浏览型号SN8F2250B的Datasheet PDF文件第51页浏览型号SN8F2250B的Datasheet PDF文件第52页浏览型号SN8F2250B的Datasheet PDF文件第54页浏览型号SN8F2250B的Datasheet PDF文件第55页浏览型号SN8F2250B的Datasheet PDF文件第56页浏览型号SN8F2250B的Datasheet PDF文件第57页  
SN8F2250B Series  
USB 2.0 Full-Speed 8-Bit Micro-Controller  
5.2 SYSTEM MODE SWITCHING EXAMPLE  
¾
’
¾
Example: Switch normal/slow mode to power down (sleep) mode.  
B0BSET FCPUM0 ; Set CPUM0 = 1.  
Note: During the sleep, only the wakeup pin and reset can wakeup the system back to the normal mode.  
Example: Switch normal mode to slow mode.  
B0BSET  
B0BSET  
FCLKMD  
FSTPHX  
;To set CLKMD = 1, Change the system into slow mode  
;To stop external high-speed oscillator for power saving.  
¾
Example: Switch slow mode to normal mode (The external high-speed oscillator is still running).  
B0BCLR FCLKMD ;To set CLKMD = 0  
Example: Switch slow mode to normal mode (The external high-speed oscillator stops).  
If external high clock stop and program want to switch back normal mode. It is necessary to delay at least 10mS for  
external clock stable.  
B0BCLR  
FSTPHX  
; Turn on the external high-speed oscillator.  
; internal RC=24KHz (typical) will delay  
MOV  
A, #20  
Z, A  
Z
B0MOV  
DECMS  
JMP  
@@:  
; 0.33ms X 30 ~ 10ms for external clock stable  
@B  
;
B0BCLR  
FCLKMD  
; Change the system back to the normal mode  
Example: Switch normal/slow mode to green mode.  
B0BSET FCPUM1  
; Set CPUM1 = 1.  
’
Note: If T0 timer wakeup function is disabled in the green mode, only the wakeup pin and reset pin can  
wakeup the system backs to the previous operation mode.  
SONiX TECHNOLOGY CO., LTD  
Page 53  
Version 1.1  
 
 复制成功!