Controller area network (bxCAN)
CAN_ClearFlag() function. And after checking on an interrupt event you should
clear it using CAN_ClearITPendingBit() function.
4.2.2 Initialization and Configuration functions
This section provides functions allowing to:
ï‚· Initialize the CAN peripherals : Prescaler, operating mode, the maximum number of
time quanta to perform resynchronization, the number of time quanta in Bit Segment 1
and 2 and many other modes.
ï‚· Configure the CAN reception filter.
ï‚· Select the start bank filter for slave CAN.
ï‚· Enable or disable the Debug Freeze mode for CAN.
ï‚· Enable or disable the CAN Time Trigger Operation communication mode.
ï‚· CAN_DeInit()
ï‚· CAN_Init()
ï‚· CAN_FilterInit()
ï‚· CAN_StructInit()
ï‚· CAN_SlaveStartBank()
ï‚· CAN_DBGFreeze()
ï‚· CAN_TTComModeCmd()
4.2.3 CAN Frames Transmission functions
This section provides functions allowing to
ï‚· Initiate and transmit a CAN frame message (if there is an empty mailbox).
ï‚· Check the transmission status of a CAN Frame.
ï‚· Cancel a transmit request.
ï‚· CAN_Transmit()
ï‚· CAN_TransmitStatus()
ï‚· CAN_CancelTransmit()
4.2.4 CAN Frames Reception functions
This section provides functions allowing to
ï‚· Receive a correct CAN frame.
ï‚· Release a specified receive FIFO (2 FIFOs are available).
ï‚· Return the number of the pending received CAN frames.
ï‚· CAN_Receive()
ï‚· CAN_FIFORelease()
ï‚· CAN_MessagePending()
4.2.5 CAN Operation modes functions
This section provides functions allowing to select the CAN Operation modes:
ï‚· sleep mode.
ï‚· normal mode.
ï‚· initialization mode.