9.0 Interrupts (Continued) Programming Example: External Interrupt PSW =00EF CNTRL =00EE RBIT 0,PORTGC R" />
參數(shù)資料
型號(hào): COP8-PGMA-44QFP
廠商: National Semiconductor
文件頁(yè)數(shù): 27/62頁(yè)
文件大?。?/td> 0K
描述: PROGRAMMING ADAPTER
標(biāo)準(zhǔn)包裝: 1
附件類型: 編程適配器
適用于相關(guān)產(chǎn)品: Cop 8
9.0 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
GIE, PSW
; Set the GIE bit
SBIT
EXEN, PSW
; Enable the external interrupt
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
.
SERVICE:
; Interrupt Service Routine
RBIT, EXPND, PSW
; Reset ext interrupt pend. bit
.
RET
; Return, set the GIE bit
COP8SA
Family
www.national.com
32
相關(guān)PDF資料
PDF描述
MAX6037BAUKADJ+T IC VREF SERIES ADJ SOT-23-5
GCM24DTKD CONN EDGECARD 48POS DIP .156 SLD
MAX6037BAUK30+T IC VREF SERIES 3V SOT-23-5
MAX6037BAUK25+T IC VREF SERIES 2.5V SOT-23-5
GBM30DTBN CONN EDGECARD 60POS R/A .156 SLD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
COP8-PGMA-48TF1 功能描述:插座和適配器 PROGRAMMING ADAPTER FOR 48TSSOP RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
COP8-PGMA-49AF1 功能描述:插座和適配器 COP8TA PROGR. ADAPTOR RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
COP8-PGMA-56TF1 制造商:NSC 制造商全稱:National Semiconductor 功能描述:8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEROM, Temperature Sensor,10-Bit A/D and Brownout Reset
COP8-PGMA-68P 制造商:Texas Instruments 功能描述:
COP8-PGMA-68PF1 制造商:NSC 制造商全稱:National Semiconductor 功能描述:8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEROM, Temperature Sensor,10-Bit A/D and Brownout Reset