參數(shù)資料
型號: COPCSH984XXX/WM
廠商: NATIONAL SEMICONDUCTOR CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 10 MHz, MICROCONTROLLER, PDSO28
封裝: SOIC-28
文件頁數(shù): 30/60頁
文件大?。?/td> 693K
代理商: COPCSH984XXX/WM
Interrupts (Continued)
Programming Example: External Interrupt
PSW
=00EF
CNTRL
=00EE
RBIT
0,PORTGC
RBIT
0,PORTGD
; G0 pin configured Hi-Z
SBIT
IEDG, CNTRL
; Ext interrupt polarity; falling edge
SBIT
EXEN, PSW
; Enable the external interrupt
SBIT
GIE, PSW
; Set the GIE bit
WAIT:
JP
WAIT
; Wait for external interrupt
.
.=0FF
; The interrupt causes a
VIS
; branch to address 0FF
; The VIS causes a branch to
;interrupt vector table
.
.=01FA
; Vector table (within 256 byte
.ADDRW SERVICE
; of VIS inst.) containing the ext
; interrupt service routine
.
INT_EXIT:
RETI
.
SERVICE:
RBIT
EXPND, PSW
; Interrupt Service Routine
; Reset ext interrupt pend. bit
.
JP
INT_EXIT
; Return, set the GIE bit
COP888xG/CS
Family
www.national.com
36
相關(guān)PDF資料
PDF描述
CP-8-D-2-TS1-TP INTERCONNECTION DEVICE
CP2-SAB1100#NAME TWO PART BOARD CONNECTOR
CP2-SAB1250#NAME TWO PART BOARD CONNECTOR
CP2-SAB950#NAME TWO PART BOARD CONNECTOR
CP20420CPGA155B-0C FPGA, 4200 GATES, CPGA155
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
COPEG884-AQC/WM/SP110451 功能描述:IC MCU 8BIT 制造商:texas instruments 系列:* 零件狀態(tài):最後搶購 標(biāo)準(zhǔn)包裝:1
COPEG884-AVW/WM 制造商:Texas Instruments 功能描述:
COPEG884-CHP/WM/E7001546 制造商:Texas Instruments 功能描述:
COPEG888 制造商:NSC 制造商全稱:National Semiconductor 功能描述:8-Bit Microcontroller with UART and Three Multi-Function Timers
COPH-030 制造商:edco liebert 功能描述: