cp3ub26 National Semiconductor Corporation, cp3ub26 Datasheet - Page 48

no-image

cp3ub26

Manufacturer Part Number
cp3ub26
Description
Reprogrammable Connectivity Processor With Usb And Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
cp3ub26G18NEP/NOPB
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
cp3ub26G18NEPX
Manufacturer:
Texas Instruments
Quantity:
10 000
www.national.com
10.3.1
The IVCT register is a byte-wide read-only register which re-
ports the encoded value of the highest priority maskable in-
terrupt that is both asserted and enabled. The valid range is
from 10h to 3Fh. The register is read by the CPU during an
interrupt acknowledge bus cycle, and INTVECT is valid dur-
ing that time. It may contain invalid data while INTVECT is
updated.
INTVECT
10.3.2
The NMISTAT register is a byte-wide read-only register. It
holds the status of the current pending Non-Maskable Inter-
rupt (NMI) requests. On the CP3UB26, the external NMI in-
put is the only source of NMI interrupts. The NMISTAT
register is cleared on reset and each time its contents are
read.
EXT
7
0
7
Interrupt Vector Register (IVCT)
Non-Maskable Interrupt Status Register
(NMISTAT)
6
0
The Interrupt Vector field indicates the highest
priority interrupt which is both asserted and
enabled.
The External NMI request bit indicates wheth-
er an external non-maskable interrupt request
has occurred. Refer to the description of the
EXNMI register below for additional details.
0
1
5
No external NMI request.
External NMI request has occurred.
Reserved
INTVECT
1
EXT
0
0
48
10.3.3
The EXNMI register is a byte-wide read/write register. It in-
dicates the current value of the NMI pin and controls the
NMI interrupt trap generation based on a falling edge of the
NMI pin. TST, EN and ENLCK are cleared on reset. When
writing to this register, all reserved bits must be written with
0 for the device to function properly
EN
PIN
ENLCK
7
External NMI Trap Control and Status Register
(EXNMI)
Reserved
The EXNMI trap enable bit is one of two bits
that can be used to enable NMI interrupts.
The bit is cleared by hardware at reset and
whenever the NMI interrupt occurs (EXN-
MI.EXT set). It is intended for applications
where the NMI input toggles frequently but
nested NMI traps are not desired. For these
applications, the EN bit needs to be re-en-
abled before exiting the trap handler. When
used this way, the ENLCK bit should never be
set. The EN bit can be set and cleared by soft-
ware (software can set this bit only if EXN-
MI.EXT is cleared), and should only be set
after the interrupt base register and the inter-
rupt stack pointer have been set up.
0
1
The PIN bit indicates the state (non-inverted)
on the NMI input pin. This bit is read-only, data
written into it is ignored.
0
1
The EXNMI trap enable lock bit is used to per-
manently enable NMI interrupts. Only a de-
vice reset can clear the ENLCK bit. This
allows the external NMI feature to be enabled
after the interrupt base register and the inter-
rupt stack pointer have been set up. When the
ENLCK bit is set, the EN bit is ignored.
0
1
NMI interrupts not enabled by this bit (but
may be enabled by the ENLCK bit).
NMI interrupts enabled.
NMI pin not asserted.
NMI pin asserted.
NMI interrupts not enabled by this bit (but
may be enabled by the EN bit).
NMI interrupts enabled.
3
ENLCK
2
PIN
1
EN
0

Related parts for cp3ub26