EasyManuals Logo

ST STM32F2 User Manual

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
Page #113 background imageLoading...
Page #113 background image
UM1940
HAL CAN Generic Driver
DocID028236 Rev 2
113/1371
Function description
Handles CAN interrupt request.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_TxCpltCallback
Function name
void HAL_CAN_TxCpltCallback (CAN_HandleTypeDef * hcan)
Function description
Transmission complete callback in non blocking mode.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_RxCpltCallback
Function name
void HAL_CAN_RxCpltCallback (CAN_HandleTypeDef * hcan)
Function description
Transmission complete callback in non blocking mode.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_ErrorCallback
Function name
void HAL_CAN_ErrorCallback (CAN_HandleTypeDef * hcan)
Function description
Error CAN callback.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
None:
HAL_CAN_GetError
Function name
uint32_t HAL_CAN_GetError (CAN_HandleTypeDef * hcan)
Function description
Return the CAN error code.
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.
Return values
CAN: Error Code
HAL_CAN_GetState
Function name
HAL_CAN_StateTypeDef HAL_CAN_GetState
(CAN_HandleTypeDef * hcan)
Function description
return the CAN state
Parameters
hcan: pointer to a CAN_HandleTypeDef structure that
contains the configuration information for the specified CAN.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32F2 and is the answer not in the manual?

ST STM32F2 Specifications

General IconGeneral
BrandST
ModelSTM32F2
CategoryMicrocontrollers
LanguageEnglish

Related product manuals