STM32H735xx HAL User Manual
Defines
HAL FDCAN Error Code
FDCAN Exported Constants

Defines

#define HAL_FDCAN_ERROR_NONE   ((uint32_t)0x00000000U)
#define HAL_FDCAN_ERROR_TIMEOUT   ((uint32_t)0x00000001U)
#define HAL_FDCAN_ERROR_NOT_INITIALIZED   ((uint32_t)0x00000002U)
#define HAL_FDCAN_ERROR_NOT_READY   ((uint32_t)0x00000004U)
#define HAL_FDCAN_ERROR_NOT_STARTED   ((uint32_t)0x00000008U)
#define HAL_FDCAN_ERROR_NOT_SUPPORTED   ((uint32_t)0x00000010U)
#define HAL_FDCAN_ERROR_PARAM   ((uint32_t)0x00000020U)
#define HAL_FDCAN_ERROR_PENDING   ((uint32_t)0x00000040U)
#define HAL_FDCAN_ERROR_RAM_ACCESS   ((uint32_t)0x00000080U)
#define HAL_FDCAN_ERROR_FIFO_EMPTY   ((uint32_t)0x00000100U)
#define HAL_FDCAN_ERROR_FIFO_FULL   ((uint32_t)0x00000200U)
#define HAL_FDCAN_ERROR_LOG_OVERFLOW   FDCAN_IR_ELO
#define HAL_FDCAN_ERROR_RAM_WDG   FDCAN_IR_WDI
#define HAL_FDCAN_ERROR_PROTOCOL_ARBT   FDCAN_IR_PEA
#define HAL_FDCAN_ERROR_PROTOCOL_DATA   FDCAN_IR_PED
#define HAL_FDCAN_ERROR_RESERVED_AREA   FDCAN_IR_ARA
#define HAL_FDCAN_ERROR_TT_GLOBAL_TIME   FDCAN_TTIR_GTE
#define HAL_FDCAN_ERROR_TT_TX_UNDERFLOW   FDCAN_TTIR_TXU
#define HAL_FDCAN_ERROR_TT_TX_OVERFLOW   FDCAN_TTIR_TXO
#define HAL_FDCAN_ERROR_TT_SCHEDULE1   FDCAN_TTIR_SE1
#define HAL_FDCAN_ERROR_TT_SCHEDULE2   FDCAN_TTIR_SE2
#define HAL_FDCAN_ERROR_TT_NO_INIT_REF   FDCAN_TTIR_IWT
#define HAL_FDCAN_ERROR_TT_NO_REF   FDCAN_TTIR_WT
#define HAL_FDCAN_ERROR_TT_APPL_WDG   FDCAN_TTIR_AW
#define HAL_FDCAN_ERROR_TT_CONFIG   FDCAN_TTIR_CER
#define HAL_FDCAN_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000100U)

Define Documentation

#define HAL_FDCAN_ERROR_FIFO_EMPTY   ((uint32_t)0x00000100U)

Put element in full FIFO

Definition at line 809 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_GetRxMessage(), and HAL_FDCAN_GetTxEvent().

#define HAL_FDCAN_ERROR_FIFO_FULL   ((uint32_t)0x00000200U)

Get element from empty FIFO

Definition at line 810 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_AddMessageToTxFifoQ().

#define HAL_FDCAN_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000100U)
#define HAL_FDCAN_ERROR_LOG_OVERFLOW   FDCAN_IR_ELO

Overflow of CAN Error Logging Counter

Definition at line 811 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_NONE   ((uint32_t)0x00000000U)

No error

Definition at line 800 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_DeInit(), HAL_FDCAN_Init(), HAL_FDCAN_IRQHandler(), and HAL_FDCAN_Start().

#define HAL_FDCAN_ERROR_NOT_INITIALIZED   ((uint32_t)0x00000002U)
#define HAL_FDCAN_ERROR_NOT_READY   ((uint32_t)0x00000004U)
#define HAL_FDCAN_ERROR_NOT_STARTED   ((uint32_t)0x00000008U)
#define HAL_FDCAN_ERROR_NOT_SUPPORTED   ((uint32_t)0x00000010U)
#define HAL_FDCAN_ERROR_PARAM   ((uint32_t)0x00000020U)
#define HAL_FDCAN_ERROR_PENDING   ((uint32_t)0x00000040U)
#define HAL_FDCAN_ERROR_PROTOCOL_ARBT   FDCAN_IR_PEA

Protocol Error in Arbitration Phase (Nominal Bit Time is used)

Definition at line 813 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_PROTOCOL_DATA   FDCAN_IR_PED

Protocol Error in Data Phase (Data Bit Time is used)

Definition at line 814 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_RAM_ACCESS   ((uint32_t)0x00000080U)

Message RAM Access Failure

Definition at line 808 of file stm32h7xx_hal_fdcan.h.

Referenced by HAL_FDCAN_IRQHandler().

#define HAL_FDCAN_ERROR_RAM_WDG   FDCAN_IR_WDI

Message RAM Watchdog event occurred

Definition at line 812 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_RESERVED_AREA   FDCAN_IR_ARA

Access to Reserved Address

Definition at line 815 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TIMEOUT   ((uint32_t)0x00000001U)
#define HAL_FDCAN_ERROR_TT_APPL_WDG   FDCAN_TTIR_AW

Application watchdog not served in time

Definition at line 823 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_CONFIG   FDCAN_TTIR_CER

Error found in trigger list

Definition at line 824 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_GLOBAL_TIME   FDCAN_TTIR_GTE

Global Time Error : Synchronization deviation exceeded limit

Definition at line 816 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_NO_INIT_REF   FDCAN_TTIR_IWT

No system startup due to missing reference message

Definition at line 821 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_NO_REF   FDCAN_TTIR_WT

Missing reference message

Definition at line 822 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_SCHEDULE1   FDCAN_TTIR_SE1

Scheduling error 1

Definition at line 819 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_SCHEDULE2   FDCAN_TTIR_SE2

Scheduling error 2

Definition at line 820 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_TX_OVERFLOW   FDCAN_TTIR_TXO

Tx Count Overflow : More Tx trigger than expected in one matrix cycle

Definition at line 818 of file stm32h7xx_hal_fdcan.h.

#define HAL_FDCAN_ERROR_TT_TX_UNDERFLOW   FDCAN_TTIR_TXU

Tx Count Underflow : Less Tx trigger than expected in one matrix cycle

Definition at line 817 of file stm32h7xx_hal_fdcan.h.