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

SN8P26042A 参数 Datasheet PDF下载

SN8P26042A图片预览
型号: SN8P26042A
PDF下载: 下载PDF文件 查看货源
内容描述: 8位微控制器 [8-Bit Micro-Controller]
分类和应用: 微控制器
文件页数/大小: 101 页 / 733 K
品牌: SONIX [ SONIX TECHNOLOGY COMPANY ]
 浏览型号SN8P26042A的Datasheet PDF文件第72页浏览型号SN8P26042A的Datasheet PDF文件第73页浏览型号SN8P26042A的Datasheet PDF文件第74页浏览型号SN8P26042A的Datasheet PDF文件第75页浏览型号SN8P26042A的Datasheet PDF文件第77页浏览型号SN8P26042A的Datasheet PDF文件第78页浏览型号SN8P26042A的Datasheet PDF文件第79页浏览型号SN8P26042A的Datasheet PDF文件第80页  
SN8P2604A  
8-Bit Micro-Controller  
8.2.4 T0 TIMER OPERATION SEQUENCE  
T0 timer operation sequence of setup T0 timer is as following.  
)
)
)
Stop T0 timer counting, disable T0 interrupt function and clear T0 interrupt request flag.  
B0BCLR  
B0BCLR  
B0BCLR  
FT0ENB  
FT0IEN  
FT0IRQ  
; T0 timer.  
; T0 interrupt function is disabled.  
; T0 interrupt request flag is cleared.  
Set T0 timer rate.  
MOV  
A, #0xxx0000b  
T0M,A  
;The T0 rate control bits exist in bit4~bit6 of T0M. The  
; value is from x000xxxxb~x111xxxxb.  
; T0 timer is disabled.  
B0MOV  
Set T0 interrupt interval time.  
MOV  
A,#7FH  
B0MOV  
T0C,A  
; Set T0C value.  
)
)
Set T0 timer function mode.  
B0BSET  
FT0IEN  
FT0ENB  
; Enable T0 interrupt function.  
; Enable T0 timer.  
Enable T0 timer.  
B0BSET  
SONiX TECHNOLOGY CO., LTD  
Page 76  
Version 0.3  
 复制成功!