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

HT45R37-A(28SSOP-A) 参数 Datasheet PDF下载

HT45R37-A(28SSOP-A)图片预览
型号: HT45R37-A(28SSOP-A)
PDF下载: 下载PDF文件 查看货源
内容描述: [Microcontroller, 8-Bit, UVPROM, 12MHz, CMOS, PDSO28]
分类和应用: 可编程只读存储器LTE微控制器光电二极管
文件页数/大小: 100 页 / 666 K
品牌: HOLTEK [ HOLTEK SEMICONDUCTOR INC ]
 浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第26页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第27页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第28页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第29页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第31页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第32页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第33页浏览型号HT45R37-A(28SSOP-A)的Datasheet PDF文件第34页  
HT45R37  
Programming Example  
The following example shows the principles of how the C/R to F converter function is programmed:  
External RC oscillation converter mode example program - Timer A overflow:  
clr RCOCCR  
mov a, 00000010b  
mov RCOCR,a  
clr mfic0.1  
; Enable External RC oscillation mode and set Timer A overflow  
; Clear External RC Oscillation Converter interrupt request flag  
clr mfic0.5  
mov a, low (65536-1000)  
mov tmral, a  
mov a, high (65536-1000)  
mov tmrah, a  
mov a, 00h  
; Give timer A initial value  
; Timer A count 1000 time and then overflow  
; Give timer B initial value  
mov tmrbl, a  
mov a, 00h  
mov tmrbh, a  
mov a, 00110000b  
mov RCOCCR, a  
p10:  
; Timer A clock source=fSYS/4 and timer on  
; Polling External RC Oscillation Converter interrupt request flag  
clr wdt  
snz mfic0.5  
jmp p10  
clr mfic0.5  
; Clear External RC Oscillation Converter interrupt request flag  
; Program continue  
Rev. 1.20  
30  
February 25, 2011  
 复制成功!