English
Language : 

MC68HC08AZ16 Datasheet, PDF (362/527 Pages) Motorola, Inc – HCMOS Microcontroller Unit
msCAN08 Controller (msCAN08)
Interrupts
Interrupt
acknowledge
Interrupts are directly associated with one or more status flags in either
the msCAN08 Receiver Flag Register (CRFLG) or the msCAN08
Transmitter Control Register (CTCR). Interrupts are pending as long as
one of the corresponding flags is set. The flags in above registers must
be reset within the interrupt handler in order to handshake the interrupt.
The flags are reset through writing a “1” to the corresponding bit position.
A flag can not be cleared if the respective condition still prevails.
CAUTION: Bit manipulation instructions (BSET) shall not be used to clear interrupt
flags. The “OR” instruction is the appropriate way to clear selected flags.
Interrupt vectors
The msCAN08 supports four interrupt vectors as shown in Table 1. The
vector addresses are dependent on the chip integration and to be
defined. The relative interrupt priority is also integration dependent and
to be defined.
Table 1. msCAN08 interrupt vectors
Function
Wake-Up
Error
Interrupts
Receive
Transmit
Source
WUPIF
RWRNIF
TWRNIF
RERRIF
TERRIF
BOFFIF
OVRIF
RXF
TXE0
TXE1
TXE2
Local
Mask
WUPIE
RWRNIE
TWRNIE
RERRIE
TERRIE
BOFFIE
OVRIE
RXFIE
TXEIE0
TXEIE1
TXEIE2
Global
Mask
I Bit
15-can
MOTOROLA
msCAN08 Controller (msCAN08)
MC68HC08AZ32
361