STM32H735xx HAL User Manual
|
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 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) |
Invalid Callback error
Definition at line 827 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_RegisterCallback(), HAL_FDCAN_RegisterClockCalibrationCallback(), HAL_FDCAN_RegisterErrorStatusCallback(), HAL_FDCAN_RegisterRxFifo0Callback(), HAL_FDCAN_RegisterRxFifo1Callback(), HAL_FDCAN_RegisterTTGlobalTimeCallback(), HAL_FDCAN_RegisterTTScheduleSyncCallback(), HAL_FDCAN_RegisterTTStopWatchCallback(), HAL_FDCAN_RegisterTTTimeMarkCallback(), HAL_FDCAN_RegisterTxBufferAbortCallback(), HAL_FDCAN_RegisterTxBufferCompleteCallback(), HAL_FDCAN_RegisterTxEventFifoCallback(), HAL_FDCAN_UnRegisterCallback(), HAL_FDCAN_UnRegisterClockCalibrationCallback(), HAL_FDCAN_UnRegisterErrorStatusCallback(), HAL_FDCAN_UnRegisterRxFifo0Callback(), HAL_FDCAN_UnRegisterRxFifo1Callback(), HAL_FDCAN_UnRegisterTTGlobalTimeCallback(), HAL_FDCAN_UnRegisterTTScheduleSyncCallback(), HAL_FDCAN_UnRegisterTTStopWatchCallback(), HAL_FDCAN_UnRegisterTTTimeMarkCallback(), HAL_FDCAN_UnRegisterTxBufferAbortCallback(), HAL_FDCAN_UnRegisterTxBufferCompleteCallback(), and HAL_FDCAN_UnRegisterTxEventFifoCallback().
#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) |
Peripheral not initialized
Definition at line 802 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_ActivateNotification(), HAL_FDCAN_AddMessageToTxBuffer(), HAL_FDCAN_ConfigFilter(), HAL_FDCAN_ConfigInterruptLines(), HAL_FDCAN_DeactivateNotification(), HAL_FDCAN_ExitRestrictedOperationMode(), HAL_FDCAN_TT_ActivateNotification(), HAL_FDCAN_TT_ConfigExternalSyncPhase(), HAL_FDCAN_TT_ConfigInterruptLines(), HAL_FDCAN_TT_ConfigRegisterTimeMark(), HAL_FDCAN_TT_ConfigStopWatch(), HAL_FDCAN_TT_DeactivateNotification(), HAL_FDCAN_TT_DisableExternalSynchronization(), HAL_FDCAN_TT_DisableHardwareGapControl(), HAL_FDCAN_TT_DisableRegisterTimeMarkPulse(), HAL_FDCAN_TT_DisableTimeMarkGapControl(), HAL_FDCAN_TT_DisableTriggerTimeMarkPulse(), HAL_FDCAN_TT_EnableExternalSynchronization(), HAL_FDCAN_TT_EnableHardwareGapControl(), HAL_FDCAN_TT_EnableRegisterTimeMarkPulse(), HAL_FDCAN_TT_EnableTimeMarkGapControl(), HAL_FDCAN_TT_EnableTriggerTimeMarkPulse(), HAL_FDCAN_TT_SetClockSynchronization(), HAL_FDCAN_TT_SetEndOfGap(), HAL_FDCAN_TT_SetGlobalTime(), and HAL_FDCAN_TT_SetNextIsGap().
#define HAL_FDCAN_ERROR_NOT_READY ((uint32_t)0x00000004U) |
Peripheral not ready
Definition at line 803 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_ConfigClockCalibration(), HAL_FDCAN_ConfigExtendedIdMask(), HAL_FDCAN_ConfigFifoWatermark(), HAL_FDCAN_ConfigGlobalFilter(), HAL_FDCAN_ConfigRamWatchdog(), HAL_FDCAN_ConfigRxFifoOverwrite(), HAL_FDCAN_ConfigTimeoutCounter(), HAL_FDCAN_ConfigTimestampCounter(), HAL_FDCAN_ConfigTxDelayCompensation(), HAL_FDCAN_DisableEdgeFiltering(), HAL_FDCAN_DisableISOMode(), HAL_FDCAN_DisableTimeoutCounter(), HAL_FDCAN_DisableTimestampCounter(), HAL_FDCAN_DisableTxDelayCompensation(), HAL_FDCAN_EnableEdgeFiltering(), HAL_FDCAN_EnableISOMode(), HAL_FDCAN_EnableTimeoutCounter(), HAL_FDCAN_EnableTimestampCounter(), HAL_FDCAN_EnableTxDelayCompensation(), HAL_FDCAN_ResetClockCalibrationState(), HAL_FDCAN_Start(), HAL_FDCAN_TT_ConfigOperation(), HAL_FDCAN_TT_ConfigReferenceMessage(), and HAL_FDCAN_TT_ConfigTrigger().
#define HAL_FDCAN_ERROR_NOT_STARTED ((uint32_t)0x00000008U) |
Peripheral not started
Definition at line 804 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_AbortTxRequest(), HAL_FDCAN_AddMessageToTxFifoQ(), HAL_FDCAN_EnableTxBufferRequest(), HAL_FDCAN_GetRxMessage(), HAL_FDCAN_GetTxEvent(), and HAL_FDCAN_Stop().
#define HAL_FDCAN_ERROR_NOT_SUPPORTED ((uint32_t)0x00000010U) |
Mode not supported
Definition at line 805 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_ResetTimeoutCounter(), HAL_FDCAN_ResetTimestampCounter(), HAL_FDCAN_TT_DisableHardwareGapControl(), HAL_FDCAN_TT_DisableTimeMarkGapControl(), HAL_FDCAN_TT_DisableTriggerTimeMarkPulse(), HAL_FDCAN_TT_EnableHardwareGapControl(), HAL_FDCAN_TT_EnableTimeMarkGapControl(), HAL_FDCAN_TT_EnableTriggerTimeMarkPulse(), HAL_FDCAN_TT_SetClockSynchronization(), HAL_FDCAN_TT_SetEndOfGap(), HAL_FDCAN_TT_SetGlobalTime(), and HAL_FDCAN_TT_SetNextIsGap().
#define HAL_FDCAN_ERROR_PARAM ((uint32_t)0x00000020U) |
Parameter error
Definition at line 806 of file stm32h7xx_hal_fdcan.h.
Referenced by FDCAN_CalcultateRamBlockAddresses(), HAL_FDCAN_AddMessageToTxBuffer(), HAL_FDCAN_AddMessageToTxFifoQ(), HAL_FDCAN_ConfigClockCalibration(), HAL_FDCAN_GetRxMessage(), HAL_FDCAN_GetTxEvent(), HAL_FDCAN_ResetClockCalibrationState(), and HAL_FDCAN_TT_ConfigOperation().
#define HAL_FDCAN_ERROR_PENDING ((uint32_t)0x00000040U) |
Pending operation
Definition at line 807 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_AddMessageToTxBuffer(), HAL_FDCAN_TT_ConfigExternalSyncPhase(), HAL_FDCAN_TT_SetClockSynchronization(), and HAL_FDCAN_TT_SetGlobalTime().
#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) |
Timeout error
Definition at line 801 of file stm32h7xx_hal_fdcan.h.
Referenced by HAL_FDCAN_EnterPowerDownMode(), HAL_FDCAN_ExitPowerDownMode(), HAL_FDCAN_Init(), HAL_FDCAN_Stop(), HAL_FDCAN_TT_ConfigOperation(), HAL_FDCAN_TT_ConfigRegisterTimeMark(), HAL_FDCAN_TT_ConfigStopWatch(), HAL_FDCAN_TT_DisableExternalSynchronization(), HAL_FDCAN_TT_DisableHardwareGapControl(), HAL_FDCAN_TT_DisableRegisterTimeMarkPulse(), HAL_FDCAN_TT_DisableTimeMarkGapControl(), HAL_FDCAN_TT_DisableTriggerTimeMarkPulse(), HAL_FDCAN_TT_EnableExternalSynchronization(), HAL_FDCAN_TT_EnableHardwareGapControl(), HAL_FDCAN_TT_EnableRegisterTimeMarkPulse(), HAL_FDCAN_TT_EnableTimeMarkGapControl(), HAL_FDCAN_TT_EnableTriggerTimeMarkPulse(), HAL_FDCAN_TT_SetClockSynchronization(), HAL_FDCAN_TT_SetEndOfGap(), HAL_FDCAN_TT_SetGlobalTime(), and HAL_FDCAN_TT_SetNextIsGap().
#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.