English
Language : 

PXS20RM Datasheet, PDF (612/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
FlexCAN Module
MDIS — Module Disable
This bit controls whether FlexCAN is enabled or not. When disabled, FlexCAN shuts down the clocks
to the CAN Protocol Interface and Message Buffer Management sub-modules. This is the only bit in
MCR not affected by soft reset. See Section 24.4.9.2, Module Disable Mode, for more information.
1 = Disable the FlexCAN module
0 = Enable the FlexCAN module
FRZ — Freeze Enable
The FRZ bit specifies the FlexCAN behavior when the HALT bit in the MCR Register is set or when
Debug Mode is requested at MCU level. When FRZ is asserted, FlexCAN is enabled to enter Freeze
Mode. Negation of this bit field causes FlexCAN to exit from Freeze Mode.
1 = Enabled to enter Freeze Mode
0 = Not enabled to enter Freeze Mode
FEN — FIFO Enable
This bit controls whether the FIFO feature is enabled or not. When FEN is set, MBs 0 to 7 cannot be
used for normal reception and transmission because the corresponding memory region (0x80-0xFF) is
used by the FIFO engine. See Section 24.3.3, Rx FIFO Structure and Rx FIFO, for more information.
This bit must be written in Freeze mode only.
1 = FIFO enabled
0 = FIFO not enabled
HALT — Halt FlexCAN
Assertion of this bit puts the FlexCAN module into Freeze Mode. The CPU should clear it after
initializing the Message Buffers and Control Register. No reception or transmission is performed by
FlexCAN before this bit is cleared. While in Freeze Mode, the CPU has write access to the Error
Counter Register, that is otherwise read-only. Freeze Mode can not be entered while FlexCAN is in
any of the low power modes. See Section 24.4.9.1, Freeze Mode, for more information.
1 = Enters Freeze Mode if the FRZ bit is asserted.
0 = No Freeze Mode request.
NOT_RDY — FlexCAN Not Ready
This read-only bit indicates that FlexCAN is either in Disable Mode, Stop Mode or Freeze Mode. It is
negated once FlexCAN has exited these modes.
1 = FlexCAN module is either in Disable Mode, Stop Mode or Freeze Mode
0 = FlexCAN module is either in Normal Mode, Listen-Only Mode or Loop-Back Mode
WAK_MSK — Wake Up Interrupt Mask
This bit enables the Wake Up Interrupt generation.
1 = Wake Up Interrupt is enabled
0 = Wake Up Interrupt is disabled
24-12
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor