STM32F103xB HAL User Manual
|
Defines | |
#define | HAL_CAN_ERROR_NONE (0x00000000U) |
#define | HAL_CAN_ERROR_EWG (0x00000001U) |
#define | HAL_CAN_ERROR_EPV (0x00000002U) |
#define | HAL_CAN_ERROR_BOF (0x00000004U) |
#define | HAL_CAN_ERROR_STF (0x00000008U) |
#define | HAL_CAN_ERROR_FOR (0x00000010U) |
#define | HAL_CAN_ERROR_ACK (0x00000020U) |
#define | HAL_CAN_ERROR_BR (0x00000040U) |
#define | HAL_CAN_ERROR_BD (0x00000080U) |
#define | HAL_CAN_ERROR_CRC (0x00000100U) |
#define | HAL_CAN_ERROR_RX_FOV0 (0x00000200U) |
#define | HAL_CAN_ERROR_RX_FOV1 (0x00000400U) |
#define | HAL_CAN_ERROR_TX_ALST0 (0x00000800U) |
#define | HAL_CAN_ERROR_TX_TERR0 (0x00001000U) |
#define | HAL_CAN_ERROR_TX_ALST1 (0x00002000U) |
#define | HAL_CAN_ERROR_TX_TERR1 (0x00004000U) |
#define | HAL_CAN_ERROR_TX_ALST2 (0x00008000U) |
#define | HAL_CAN_ERROR_TX_TERR2 (0x00010000U) |
#define | HAL_CAN_ERROR_TIMEOUT (0x00020000U) |
#define | HAL_CAN_ERROR_NOT_INITIALIZED (0x00040000U) |
#define | HAL_CAN_ERROR_NOT_READY (0x00080000U) |
#define | HAL_CAN_ERROR_NOT_STARTED (0x00100000U) |
#define | HAL_CAN_ERROR_PARAM (0x00200000U) |
#define | HAL_CAN_ERROR_INVALID_CALLBACK (0x00400000U) |
#define | HAL_CAN_ERROR_INTERNAL (0x00800000U) |
#define HAL_CAN_ERROR_ACK (0x00000020U) |
Acknowledgment error
Definition at line 291 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_BD (0x00000080U) |
Bit dominant error
Definition at line 293 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_BOF (0x00000004U) |
Bus-off error
Definition at line 288 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_BR (0x00000040U) |
Bit recessive error
Definition at line 292 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_CRC (0x00000100U) |
#define HAL_CAN_ERROR_EPV (0x00000002U) |
Error Passive
Definition at line 287 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_EWG (0x00000001U) |
Protocol Error Warning
Definition at line 286 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_FOR (0x00000010U) |
#define HAL_CAN_ERROR_INTERNAL (0x00800000U) |
Internal error
Definition at line 312 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_AddTxMessage().
#define HAL_CAN_ERROR_INVALID_CALLBACK (0x00400000U) |
Invalid Callback error
Definition at line 310 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_RegisterCallback(), and HAL_CAN_UnRegisterCallback().
#define HAL_CAN_ERROR_NONE (0x00000000U) |
No error
Definition at line 285 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_DeInit(), HAL_CAN_Init(), HAL_CAN_IRQHandler(), and HAL_CAN_Start().
#define HAL_CAN_ERROR_NOT_INITIALIZED (0x00040000U) |
Peripheral not initialized
Definition at line 304 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_AbortTxRequest(), HAL_CAN_ActivateNotification(), HAL_CAN_AddTxMessage(), HAL_CAN_ConfigFilter(), HAL_CAN_DeactivateNotification(), HAL_CAN_GetRxMessage(), HAL_CAN_RequestSleep(), HAL_CAN_ResetError(), and HAL_CAN_WakeUp().
#define HAL_CAN_ERROR_NOT_READY (0x00080000U) |
Peripheral not ready
Definition at line 305 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_Start().
#define HAL_CAN_ERROR_NOT_STARTED (0x00100000U) |
Peripheral not started
Definition at line 306 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_Stop().
#define HAL_CAN_ERROR_PARAM (0x00200000U) |
Parameter error
Definition at line 307 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_AddTxMessage(), and HAL_CAN_GetRxMessage().
#define HAL_CAN_ERROR_RX_FOV0 (0x00000200U) |
Rx FIFO0 overrun error
Definition at line 295 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_RX_FOV1 (0x00000400U) |
Rx FIFO1 overrun error
Definition at line 296 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_STF (0x00000008U) |
#define HAL_CAN_ERROR_TIMEOUT (0x00020000U) |
Timeout error
Definition at line 303 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_Init(), HAL_CAN_Start(), HAL_CAN_Stop(), and HAL_CAN_WakeUp().
#define HAL_CAN_ERROR_TX_ALST0 (0x00000800U) |
TxMailbox 0 transmit failure due to arbitration lost
Definition at line 297 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_TX_ALST1 (0x00002000U) |
TxMailbox 1 transmit failure due to arbitration lost
Definition at line 299 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_TX_ALST2 (0x00008000U) |
TxMailbox 2 transmit failure due to arbitration lost
Definition at line 301 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_TX_TERR0 (0x00001000U) |
TxMailbox 0 transmit failure due to transmit error
Definition at line 298 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_TX_TERR1 (0x00004000U) |
TxMailbox 1 transmit failure due to transmit error
Definition at line 300 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().
#define HAL_CAN_ERROR_TX_TERR2 (0x00010000U) |
TxMailbox 2 transmit failure due to transmit error
Definition at line 302 of file stm32f1xx_hal_can.h.
Referenced by HAL_CAN_IRQHandler().