參數(shù)資料
型號: COP8SEC520M
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 微控制器/微處理器
英文描述: 8-Bit CMOS ROM Based and OTP Microcontrollers with 4k Memory and 128 Bytes EERAM
中文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PDSO20
封裝: PLASTIC, SOP-20
文件頁數(shù): 27/47頁
文件大?。?/td> 491K
代理商: COP8SEC520M
8.0 Interrupts
(Continued)
Programming Example: External Interrupt
PSW
CNTRL
RBIT
RBIT
SBIT
SBIT
SBIT
WAIT:
JP
.
.
.
.=0FF
VIS
=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 for external interrupt
; 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:
RETI
.
.
RBIT
SERVICE:
EXPND, PSW
; Interrupt Service Routine
; Reset ext interrupt pend. bit
.
.
.
JP
INT_EXIT
; Return, set the GIE bit
www.national.com
27
相關PDF資料
PDF描述
COP8SER7-RE 8-Bit CMOS ROM Based and OTP Microcontrollers with 4k Memory and 128 Bytes EERAM
COP8SE 8-Bit CMOS ROM Based and OTP Microcontrollers with 4k Memory and 128 Bytes EERAM(8位基于CMOS ROM和一次可編程的帶4K存儲器和128字節(jié)的EERAM微控制器)
COP8SGA928D3 8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory, Two Comparators and USART
COP8SGA5DWF9 8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory, Two Comparators and USART
COP8SGB5DWF9 8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory, Two Comparators and USART
相關代理商/技術參數(shù)
參數(shù)描述
COP8SEC520M7 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
COP8SEC520M8 制造商:未知廠家 制造商全稱:未知廠家 功能描述:8-Bit Microcontroller
COP8SEC5A_ECOHA0NB WAF 制造商:Texas Instruments 功能描述:
COP8SER720M8-RE 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|COP800 CPU|CMOS|SOP|20PIN|PLASTIC
COP8SER720M8-XE 制造商:未知廠家 制造商全稱:未知廠家 功能描述:MICROCONTROLLER|8-BIT|COP800 CPU|CMOS|SOP|20PIN|PLASTIC