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

SN8F2250B 参数 Datasheet PDF下载

SN8F2250B图片预览
型号: SN8F2250B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 133 页 / 1554 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F2250B的Datasheet PDF文件第50页浏览型号SN8F2250B的Datasheet PDF文件第51页浏览型号SN8F2250B的Datasheet PDF文件第52页浏览型号SN8F2250B的Datasheet PDF文件第53页浏览型号SN8F2250B的Datasheet PDF文件第55页浏览型号SN8F2250B的Datasheet PDF文件第56页浏览型号SN8F2250B的Datasheet PDF文件第57页浏览型号SN8F2250B的Datasheet PDF文件第58页  
SN8F2250B Series  
USB 2.0 Full-Speed 8-Bit Micro-Controller  
Example: Switch normal/slow mode to green mode and enable T0 wake-up function.  
; Set T0 timer wakeup function.  
B0BCLR  
FT0IEN  
FT0ENB  
A,#20H  
T0M,A  
; To disable T0 interrupt service  
; To disable T0 timer  
;
B0BCLR  
MOV  
B0MOV  
; To set T0 clock = Fcpu / 64  
MOV  
B0MOV  
A,#74H  
T0C,A  
; To set T0C initial value = 74H (To set T0 interval = 10 ms)  
; To disable T0 interrupt service  
; To clear T0 interrupt request  
B0BCLR  
B0BCLR  
B0BSET  
FT0IEN  
FT0IRQ  
FT0ENB  
; To enable T0 timer  
; Go into green mode  
B0BCLR  
FCPUM0  
FCPUM1  
;To set CPUMx = 10  
B0BSET  
’
Note: During the green mode with T0 wake-up function, the wakeup pin and T0 wakeup the system back  
to the last mode. T0 wake-up period is controlled by program.  
SONiX TECHNOLOGY CO., LTD  
Page 54  
Version 1.1  
 复制成功!