UM1940
Function description
Parameters
Return values
HAL_CAN_TxCpltCallback
Function name
Function description
Parameters
Return values
HAL_CAN_RxCpltCallback
Function name
Function description
Parameters
Return values
HAL_CAN_ErrorCallback
Function name
Function description
Parameters
Return values
HAL_CAN_GetError
Function name
Function description
Parameters
Return values
HAL_CAN_GetState
Function name
Function description
Parameters
Handles CAN interrupt request.
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
None:
void HAL_CAN_TxCpltCallback (CAN_HandleTypeDef * hcan)
Transmission complete callback in non blocking mode.
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
None:
void HAL_CAN_RxCpltCallback (CAN_HandleTypeDef * hcan)
Transmission complete callback in non blocking mode.
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
None:
void HAL_CAN_ErrorCallback (CAN_HandleTypeDef * hcan)
Error CAN callback.
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
None:
uint32_t HAL_CAN_GetError (CAN_HandleTypeDef * hcan)
Return the CAN error code.
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
CAN: Error Code
HAL_CAN_StateTypeDef HAL_CAN_GetState
(CAN_HandleTypeDef * hcan)
return the CAN state
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
DocID028236 Rev 2
HAL CAN Generic Driver
113/1371
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers