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

SN8F2250B 参数 Datasheet PDF下载

SN8F2250B图片预览
型号: SN8F2250B
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 133 页 / 1554 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8F2250B的Datasheet PDF文件第77页浏览型号SN8F2250B的Datasheet PDF文件第78页浏览型号SN8F2250B的Datasheet PDF文件第79页浏览型号SN8F2250B的Datasheet PDF文件第80页浏览型号SN8F2250B的Datasheet PDF文件第82页浏览型号SN8F2250B的Datasheet PDF文件第83页浏览型号SN8F2250B的Datasheet PDF文件第84页浏览型号SN8F2250B的Datasheet PDF文件第85页  
SN8F2250B Series  
USB 2.0 Full-Speed 8-Bit Micro-Controller  
8.3.4 T1 TIMER OPERATION SEQUENCE  
T1 timer operation sequence of setup T1 timer is as following.  
)
Stop T1 timer counting, disable T1 interrupt function and clear T1 interrupt request flag.  
B0BCLR  
B0BCLR  
B0BCLR  
FT1ENB  
FT1IEN  
FT1IRQ  
; T1 timer.  
; T1 interrupt function is disabled.  
; T1 interrupt request flag is cleared.  
)
)
Set T1 timer rate.  
MOV  
A, #0xxx0000b  
T1M,A  
;The T1 rate control bits exist in bit4~bit6 of T1M. The  
; value is from x000xxxxb~x111xxxxb.  
; T1 timer is disabled.  
B0MOV  
Set T1 interrupt interval time.  
MOV  
A,#0E5H  
B0MOV  
MOV  
B0MOV  
T1C_L,A  
A,#48H  
T1C_H,A  
; Set T1C_L value.  
; Set T1C_H value.  
)
)
Set T1 timer function mode.  
B0BSET  
FT1IEN  
; Enable T1 interrupt function.  
; Enable T1 timer.  
Enable T1 timer.  
B0BSET  
FT1ENB  
SONiX TECHNOLOGY CO., LTD  
Page 81  
Version 1.1  
 
 复制成功!