EasyManua.ls Logo

ST STM32F2

ST STM32F2
1371 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...
HAL CAN Generic Driver
UM1940
112/1371
DocID028236 Rev 2
contains the configuration information for the specified CAN.
Return values
HAL: status
HAL_CAN_Receive
Function name
HAL_StatusTypeDef HAL_CAN_Receive (CAN_HandleTypeDef
* hcan, uint8_t FIFONumber, uint32_t Timeout)
Function description
Receives a correct CAN frame.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
FIFONumber: FIFO Number value
Timeout: Specify Timeout value
Return values
HAL: status
HAL_CAN_Receive_IT
Function name
HAL_StatusTypeDef HAL_CAN_Receive_IT
(CAN_HandleTypeDef * hcan, uint8_t FIFONumber)
Function description
Receives a correct CAN frame.
Parameters
hcan: Pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
FIFONumber: Specify the FIFO number
Return values
HAL: status
HAL_CAN_Sleep
Function name
HAL_StatusTypeDef HAL_CAN_Sleep (CAN_HandleTypeDef *
hcan)
Function description
Enters the Sleep (low power) mode.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
HAL: status.
HAL_CAN_WakeUp
Function name
HAL_StatusTypeDef HAL_CAN_WakeUp
(CAN_HandleTypeDef * hcan)
Function description
Wakes up the CAN peripheral from sleep mode, after that the CAN
peripheral is in the normal mode.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
HAL: status.
HAL_CAN_IRQHandler
Function name
void HAL_CAN_IRQHandler (CAN_HandleTypeDef * hcan)

Table of Contents

Related product manuals