Controller area network (bxCAN)
Releases the specified receive FIFO.
ï‚· CANx : where x can be 1 to select the CAN1 peripheral.
ï‚· FIFONumber : FIFO to release, CAN_FIFO0 or CAN_FIFO1.
4.2.10.3 CAN_MessagePending
uint8_t CAN_MessagePending ( CAN_TypeDef * CANx,
uint8_t FIFONumber)
Returns the number of pending received messages.
ï‚· CANx : where x can be 1 to select the CAN1 peripheral.
ï‚· FIFONumber : Receive FIFO number, CAN_FIFO0 or
CAN_FIFO1.
ï‚· NbMessage : which is the number of pending message.
4.2.11 CAN Operating mode functions
4.2.11.1 CAN_OperatingModeRequest
uint8_t CAN_OperatingModeRequest ( CAN_TypeDef * CANx,
uint8_t CAN_OperatingMode)
Selects the CAN Operation mode.
ï‚· CAN_OperatingMode : CAN Operating Mode. This
parameter can be one of CAN_OperatingMode_TypeDef
enumeration.
ï‚· status of the requested mode which can be:
ï€ CAN_ModeStatus_Failed: CAN failed entering the
specific mode
ï€ CAN_ModeStatus_Success: CAN Succeed entering
the specific mode