Chapter 10 Freescale’s Scalable Controller Area Network (S12MSCANV3)
MC9S12XDP512 Data Sheet, Rev. 2.17
Freescale Semiconductor
433
10.3.2.7
MSCAN Transmitter Flag Register (CANTFLG)
The transmit buffer empty ags each have an associated interrupt enable bit in the CANTIER register.
Table 10-10. CANRIER Register Field Descriptions
Field
Description
7
WUPIE1
mechanism from stop or wait is required.
Wake-Up Interrupt Enable
0
No interrupt request is generated from this event.
1
A wake-up event causes a Wake-Up interrupt request.
6
CSCIE
CAN Status Change Interrupt Enable
0
No interrupt request is generated from this event.
1
A CAN Status Change event causes an error interrupt request.
5:4
RSTATE[1:0]
Receiver Status Change Enable — These RSTAT enable bits control the sensitivity level in which receiver state
changes are causing CSCIF interrupts. Independent of the chosen sensitivity level the RSTAT ags continue to
indicate the actual receiver state and are only updated if no CSCIF interrupt is pending.
00 Do not generate any CSCIF interrupt caused by receiver state changes.
01 Generate CSCIF interrupt only if the receiver enters or leaves “bus-off” state. Discard other receiver state
changes for generating CSCIF interrupt.
10 Generate CSCIF interrupt only if the receiver enters or leaves “RxErr” or “bus-off”2 state. Discard other
receiver state changes for generating CSCIF interrupt.
11 Generate CSCIF interrupt on all state changes.
2 Bus-off state is dened by the CAN standard (see Bosch CAN 2.0A/B protocol specication: for only transmitters. Because the
only possible state change for the transmitter from bus-off to TxOK also forces the receiver to skip its current state to RxOK,
3:2
TSTATE[1:0]
Transmitter Status Change Enable — These TSTAT enable bits control the sensitivity level in which transmitter
state changes are causing CSCIF interrupts. Independent of the chosen sensitivity level, the TSTAT ags
continue to indicate the actual transmitter state and are only updated if no CSCIF interrupt is pending.
00 Do not generate any CSCIF interrupt caused by transmitter state changes.
01 Generate CSCIF interrupt only if the transmitter enters or leaves “bus-off” state. Discard other transmitter
state changes for generating CSCIF interrupt.
10 Generate CSCIF interrupt only if the transmitter enters or leaves “TxErr” or “bus-off” state. Discard other
transmitter state changes for generating CSCIF interrupt.
11 Generate CSCIF interrupt on all state changes.
1
OVRIE
Overrun Interrupt Enable
0
No interrupt request is generated from this event.
1
An overrun event causes an error interrupt request.
0
RXFIE
Receiver Full Interrupt Enable
0
No interrupt request is generated from this event.
1
A receive buffer full (successful message reception) event causes a receiver interrupt request.