English
Language : 

MC68HC908AT32 Datasheet, PDF (274/378 Pages) Freescale Semiconductor, Inc – Microcontrollers
MSCAN Controller
23.13.5 MSCAN08 Receiver Flag Register
All bits of this register are read and clear only. A flag can be cleared by writing a 1 to the corresponding
bit position. A flag can be cleared only when the condition which caused the setting is valid no more.
Writing a 0 has no effect on the flag setting. Every flag has an associated interrupt enable flag in the
CRIER register. A hard or soft reset will clear the register.
Address: $0504
Bit 7
6
5
4
3
2
1
Bit 0
Read:
WUPIF RWRNIF TWRNIF RERRIF TERRIF BOFFIF OVRIF
RXF
Write:
Reset: 0
0
0
0
0
0
0
0
Figure 23-18. Receiver Flag Register (CRFLG)
WUPIF — Wakeup Interrupt Flag
If the MSCAN08 detects bus activity while it is asleep, it clears the SLPAKSLPAK bit in the CMCR0
register; the WUPIF bit will then be set. If not masked, a wakeup interrupt is pending while this flag is
set.
1 = MSCAN08 has detected activity on the bus and requested wakeup.
0 = No wakeup interrupt has occurred.
RWRNIF — Receiver Warning Interrupt Flag
This bit will be set when the MSCAN08 went into warning status because the receive error counter was
in the range of 96 to 127. If not masked, an error interrupt is pending while this flag is set.
1 = MSCAN08 went into warning status.
0 = No warning interrupt has occurred.
TWRNIF — Transmitter Warning Interrupt Flag
This bit will be set when the MSCAN08 went into warning status because the transmit error counter
was in the range of 96 to 127. If not masked, an error interrupt is pending while this flag is set.
1 = MSCAN08 went into warning status.
0 = No warning interrupt has occurred.
RERRIF — Receiver Error Passive Interrupt Flag
This bit will be set when the MSCAN08 went into error passive status because the receive error counter
exceeded 127. If not masked, an error interrupt is pending while this flag is set.
1 = MSCAN08 went into error passive status.
0 = No warning interrupt has occurred.
TERRIF — Transmitter Error Passive Interrupt Flag
This bit will be set when the MSCAN08 went into error passive status due to the transmit error counter
exceeded 127. If not masked, an error interrupt is pending while this flag is set.
1 = MSCAN08 went into error passive status.
0 = No warning interrupt has occurred.
BOFFIF — Bus-Off Interrupt Flag
This bit will be set when the MSCAN08 went into bus-off status, because the transmit error counter
exceeded 255. If not masked, an Error interrupt is pending while this flag is set.
1 = MSCAN08 went into warning status.
0 = No warning interrupt has occurred.
MC68HC908AT32 Data Sheet, Rev. 3.1
274
Freescale Semiconductor