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...
UM1940
HAL CAN Generic Driver
DocID028236 Rev 2
111/1371
sFilterConfig: pointer to a CAN_FilterConfTypeDef structure
that contains the filter configuration information.
Return values
None:
HAL_CAN_DeInit
Function name
HAL_StatusTypeDef HAL_CAN_DeInit (CAN_HandleTypeDef *
hcan)
Function description
Deinitializes the CANx peripheral registers to their default reset
values.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
HAL: status
HAL_CAN_MspInit
Function name
void HAL_CAN_MspInit (CAN_HandleTypeDef * hcan)
Function description
Initializes the CAN MSP.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_MspDeInit
Function name
void HAL_CAN_MspDeInit (CAN_HandleTypeDef * hcan)
Function description
DeInitializes the CAN MSP.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_Transmit
Function name
HAL_StatusTypeDef HAL_CAN_Transmit
(CAN_HandleTypeDef * hcan, uint32_t Timeout)
Function description
Initiates and transmits a CAN frame message.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Timeout: Specify Timeout value
Return values
HAL: status
HAL_CAN_Transmit_IT
Function name
HAL_StatusTypeDef HAL_CAN_Transmit_IT
(CAN_HandleTypeDef * hcan)
Function description
Initiates and transmits a CAN frame message.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that

Table of Contents

Related product manuals