HAL CAN Generic Driver
Return values
8.3
CAN Firmware driver defines
8.3.1
CAN
CAN Error Code
HAL_CAN_ERROR_NONE
HAL_CAN_ERROR_EWG
HAL_CAN_ERROR_EPV
HAL_CAN_ERROR_BOF
HAL_CAN_ERROR_STF
HAL_CAN_ERROR_FOR
HAL_CAN_ERROR_ACK
HAL_CAN_ERROR_BR
HAL_CAN_ERROR_BD
HAL_CAN_ERROR_CRC
CAN Exported Macros
__HAL_CAN_RESET_HANDLE_STATE
__HAL_CAN_ENABLE_IT
__HAL_CAN_DISABLE_IT
114/1371
HAL: state
No error
EWG error
EPV error
BOF error
Stuff error
Form error
Acknowledgment error
Bit recessive
LEC dominant
LEC transfer error
Description:
Reset CAN handle state.
Parameters:
__HANDLE__: specifies the CAN Handle.
Return value:
None
Description:
Enable the specified CAN interrupts.
Parameters:
__HANDLE__: CAN handle
__INTERRUPT__: CAN Interrupt
Return value:
None
Description:
Disable the specified CAN interrupts.
Parameters:
__HANDLE__: CAN handle
__INTERRUPT__: CAN Interrupt
Return value:
None
DocID028236 Rev 2
UM1940
Need help?
Do you have a question about the STM32F2 and is the answer not in the manual?
Questions and answers