EasyManua.ls Logo

ST STM32F31xx

ST STM32F31xx
584 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Controller area network (bxCAN)
UM1581
120/584
DocID023800 Rev 1
FIFONumber)
Function Description
Releases the specified receive FIFO.
Parameters
CANx : where x can be 1 to select the CAN1 peripheral.
FIFONumber : FIFO to release, CAN_FIFO0 or CAN_FIFO1.
Return values
None.
Notes
None.
4.2.10.3 CAN_MessagePending
Function Name
uint8_t CAN_MessagePending ( CAN_TypeDef * CANx,
uint8_t FIFONumber)
Function Description
Returns the number of pending received messages.
Parameters
CANx : where x can be 1 to select the CAN1 peripheral.
FIFONumber : Receive FIFO number, CAN_FIFO0 or
CAN_FIFO1.
Return values
NbMessage : which is the number of pending message.
Notes
None.
4.2.11 CAN Operating mode functions
4.2.11.1 CAN_OperatingModeRequest
Function Name
uint8_t CAN_OperatingModeRequest ( CAN_TypeDef * CANx,
uint8_t CAN_OperatingMode)
Function Description
Selects the CAN Operation mode.
Parameters
CAN_OperatingMode : CAN Operating Mode. This
parameter can be one of CAN_OperatingMode_TypeDef
enumeration.
Return values
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
Notes
None.

Table of Contents

Related product manuals