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

COP8FG 参数 Datasheet PDF下载

COP8FG图片预览
型号: COP8FG
PDF下载: 下载PDF文件 查看货源
内容描述: 8位CMOS基于ROM和OTP微控制器具有8K到32K的内存,两个比较器和USART [8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory, Two Comparators and USART]
分类和应用: 比较器微控制器
文件页数/大小: 59 页 / 803 K
品牌: NSC [ National Semiconductor ]
 浏览型号COP8FG的Datasheet PDF文件第32页浏览型号COP8FG的Datasheet PDF文件第33页浏览型号COP8FG的Datasheet PDF文件第34页浏览型号COP8FG的Datasheet PDF文件第35页浏览型号COP8FG的Datasheet PDF文件第37页浏览型号COP8FG的Datasheet PDF文件第38页浏览型号COP8FG的Datasheet PDF文件第39页浏览型号COP8FG的Datasheet PDF文件第40页  
10.0 Interrupts (Continued)  
Programming Example: External Interrupt  
PSW  
CNTRL  
RBIT  
RBIT  
SBIT  
SBIT  
SBIT  
JP  
=00EF  
=00EE  
0,PORTGC  
0,PORTGD  
IEDG, CNTRL  
EXEN, PSW  
GIE, PSW  
WAIT  
; G0 pin configured Hi-Z  
; Ext interrupt polarity; falling edge  
; Enable the external interrupt  
; Set the GIE bit  
WAIT:  
; Wait for external interrupt  
.
.
.
.=0FF  
VIS  
; The interrupt causes a  
; branch to address 0FF  
; The VIS causes a branch to  
;interrupt vector table  
.
.
.
.=01FA  
.ADDRW SERVICE  
; Vector table (within 256 byte  
; of VIS inst.) containing the ext  
; interrupt service routine  
.
.
INT_EXIT:  
SERVICE:  
RETI  
.
.
RBIT  
EXPND, PSW  
; Interrupt Service Routine  
; Reset ext interrupt pend. bit  
.
.
.
JP  
INT_EXIT  
; Return, set the GIE bit  
www.national.com  
36  
 复制成功!