COP8SG National Semiconductor, COP8SG Datasheet - Page 38

no-image

COP8SG

Manufacturer Part Number
COP8SG
Description
8-Bit CMOS ROM Based and OTP Microcontrollers with 8k to 32k Memory/ Two Comparators and USART
Manufacturer
National Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
COP8SGE728M7
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
COP8SGE728N8/NOPB
Manufacturer:
National
Quantity:
370
Part Number:
COP8SGE744V8
Manufacturer:
RENESAS
Quantity:
6 674
Part Number:
COP8SGE744V8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SGE744V8
Manufacturer:
NS
Quantity:
114
Company:
Part Number:
COP8SGE744V8
Quantity:
669
Part Number:
COP8SGE744V8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SGE7VEJ8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SGR728M7
Manufacturer:
NS/国半
Quantity:
20 000
Part Number:
COP8SGR728M8/NOPB
Manufacturer:
National
Quantity:
296
Part Number:
COP8SGR744V8
Manufacturer:
NSC
Quantity:
5 510
Part Number:
COP8SGR744V8
Manufacturer:
ST
Quantity:
5 510
Part Number:
COP8SGR744V8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
COP8SGR744V8
Manufacturer:
NS/国半
Quantity:
20 000
www.national.com
10.0 Interrupts
Programming Example: External Interrupt
WAIT:
INT_EXIT:
SERVICE:
PSW
CNTRL
RBIT
RBIT
SBIT
SBIT
SBIT
JP
.
.
.
.=0FF
VIS
.
.
.
.=01FA
.ADDRW SERVICE
.
.
RETI
.
.
RBIT
.
.
.
JP
INT_EXIT
EXPND, PSW
(Continued)
=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
; Vector table (within 256 byte
; of VIS inst.) containing the ext
; interrupt service routine
; Interrupt Service Routine
; Reset ext interrupt pend. bit
; Return, set the GIE bit
38

Related parts for COP8SG