|
K60P100M100SF2RM Datasheet, PDF (1332/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual | |||
|
◁ |
Memory Map/Register Definition
CANx_ESR1 field descriptions (continued)
Field
Description
This bit indicates when repetitive errors are occurring during message transmission. This bit is not
updated during Freeze mode.
8
RXWRN
0 No such occurrence
1 TXERRCNT is greater than or equal to 96.
Rx Error Warning
This bit indicates when repetitive errors are occurring during message reception. This bit is not updated
during Freeze mode.
7
IDLE
0 No such occurrence
1 RXERRCNT is greater than or equal to 96.
This bit indicates when CAN bus is in IDLE state. See the table in the overall CAN_ESR1 register
description.
0 No such occurrence
1 CAN bus is now IDLE.
6
FlexCAN in Transmission
TX
This bit indicates if FlexCAN is transmitting a message. See the table in the overall CAN_ESR1 register
description.
5â4
FLTCONF
0 FlexCAN is not transmitting a message.
1 FlexCAN is transmitting a message.
Fault Confinement State
This 2-bit field indicates the Confinement State of the FlexCAN module.
If the LOM bit in the Control Register is asserted, after some delay that depends on the CAN bit timing the
FLTCONF field will indicate âError Passiveâ. The very same delay affects the way how FLTCONF reflects
an update to ECR register by the CPU. It may be necessary up to one CAN bit time to get them coherent
again.
Since the Control Register is not affected by soft reset, the FLTCONF field will not be affected by soft
reset if the LOM bit is asserted.
00 Error Active
01 Error Passive
1x Bus Off
3
FlexCAN in Reception
RX
This bit indicates if FlexCAN is receiving a message. See the table in the overall CAN_ESR1 register
description.
2
BOFFINT
0 FlexCAN is not receiving a message.
1 FlexCAN is receiving a message.
âBus Offâ Interrupt
This bit is set when FlexCAN enters âBus Offâ state. If the corresponding mask bit in the Control Register
(BOFFMSK) is set, an interrupt is generated to the CPU. This bit is cleared by writing it to â1â. Writing â0â
has no effect.
Table continues on the next page...
1332
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
|
▷ |