cop8ccr9 National Semiconductor Corporation, cop8ccr9 Datasheet - Page 60

no-image

cop8ccr9

Manufacturer Part Number
cop8ccr9
Description
8-bit Cmos Flash Microcontroller With 32k Memory, Virtual Eeprom, 10-bit A/d And Brownout
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cop8ccr9HLQ8
Manufacturer:
ST
Quantity:
12 000
Part Number:
cop8ccr9HVA8
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9HVA8/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9IMT7/NOPB
Manufacturer:
NS/TI
Quantity:
8
Part Number:
cop8ccr9LVA7
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9LVA7/63SN
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cop8ccr9LVA7/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
16.0 Interrupts
STPND flag will have the wrong state. This will allow
maskable interrupts to be acknowledged during the servicing
of the first Software Trap. To avoid problems such as this, the
user program should contain the Software Trap routine to
perform a recovery procedure rather than a return to normal
execution.
Under normal conditions, the STPND flag is reset by a
RPND instruction in the Software Trap service routine. If a
16.4.2.1 Programming Example: External Interrupt
WAIT:
PSW
CNTRL
RBIT
RBIT
SBIT
SBIT
SBIT
JP
.
.
.
.=0FF
VIS
.
.
.
.=01FA
.ADDRW SERVICE
(Continued)
=00EF
=00EE
0,PORTGC
0,PORTGD
IEDG, CNTRL
GIE, PSW
EXEN, PSW
WAIT
FIGURE 31. VIS Flow Chart
; G0 pin configured Hi-Z
; Ext interrupt polarity; falling edge
; Set the GIE bit
; Enable the external interrupt
; 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
60
programming error or hardware condition (brownout, power
supply glitch, etc.) sets the STPND flag without providing a
way for it to be cleared, all other interrupts will be locked out.
To alleviate this condition, the user can use extra RPND
instructions in the main program and in the Watchdog ser-
vice routine (if present). There is no harm in executing extra
RPND instructions in these parts of the program.
10137434

Related parts for cop8ccr9