Datasheet

Table Of Contents
MSCAN
Register Descriptions
MC9S12DP256 — Revision 1.1
MSCAN
NOTE:
The CANTFLG register is held in the reset state when the Initialization
Mode is active (INITRQ=1 and INITAK=1). This register is writable again
as soon as the Initialization Mode is left (INITRQ=0 and INITAK=0).
Read: anytime
Write: anytime for TXEx flags when not in Initialization Mode; write of ‘1’
clears flag, write of ‘0’ ignored
TXE2–TXE0 —Transmitter Buffer Empty
This flag indicates that the associated transmit message buffer is
empty, and thus not scheduled for transmission. The CPU must clear
the flag after a message is set up in the transmit buffer and is due for
transmission. The MSCAN sets the flag after the message is sent
successfully. The flag is also set by the MSCAN when the
transmission request is successfully aborted due to a pending abort
request (see MSCAN Transmitter Message Abort Control
(CANTARQ)). If not masked, a Transmit interrupt is pending while this
flag is set.
Clearing a TXEx flag also clears the corresponding ABTAKx (see
MSCAN Transmitter Message Abort Control (CANTAAK)). When a
TXEx flag is set, the corresponding ABTRQx bit is cleared (see
MSCAN Transmitter Message Abort Control (CANTARQ)).
When Listen-Mode is active (see MSCAN Control 1 Register
(CANCTL1)) the TXEx flags cannot be cleared and no transmission is
started.
1 = The associated message buffer is empty (not scheduled).
0 = The associated message buffer is full (loaded with a message
due for transmission).
WARNING:
To ensure data integrity, do not write to the transmit buffer
registers while the associated TXE flag is cleared.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...