mc68hc912d60c Freescale Semiconductor, Inc, mc68hc912d60c Datasheet - Page 339

no-image

mc68hc912d60c

Manufacturer Part Number
mc68hc912d60c
Description
Hc12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
17.13.8 msCAN12 Transmitter Flag Register (CTFLG)
MC68HC912D60A — Rev. 3.1
Freescale Semiconductor
CTFLG
$0106
RESET
R
W
NOTE:
Bit 7
0
0
RXFIE — Receiver Full Interrupt Enable
The CRIER register is held in the reset state when the SFTRES bit in CMCR0
is set.
The Abort Acknowledge flags are read only. The Transmitter Buffer Empty
flags are read and clear only. A flag can be cleared by writing a 1 to the
corresponding bit position. Writing a zero has no effect on the flag setting.
The Transmitter Buffer Empty flags each have an associated interrupt
enable bit in the CTCR register. A hard or soft reset resets the register.
ABTAK2 – ABTAK0 — Abort Acknowledge
TXE2 – TXE0 —Transmitter Buffer Empty
ABTAK2
This flag acknowledges that a message has been aborted due to a
pending abort request from the CPU. After a particular message
buffer has been flagged empty, this flag can be used by the
application software to identify whether the message has been
aborted successfully or has been sent in the meantime. The ABTAKx
flag is cleared implicitly whenever the corresponding TXE flag is
cleared.
This flag indicates that the associated transmit message buffer is empty,
thus not scheduled for transmission. The CPU must handshake (clear)
the flag after a message has been set up in the transmit buffer and is due
for transmission. The msCAN12 sets the flag after the message has been
sent successfully. The flag is also set by the msCAN12 when the
6
0
0 = No interrupt is generated from this event.
1 = A receive buffer full (successful message reception) event
0 = The massage has not been aborted, thus has been sent out.
1 = The message has been aborted.
results in a receive interrupt.
ABTAK1
5
0
MSCAN Controller
ABTAK0
4
0
3
0
0
Programmer’s Model of Control Registers
TXE2
2
1
TXE1
1
1
MSCAN Controller
Technical Data
TXE0
Bit 0
1
339

Related parts for mc68hc912d60c