STM32L443xx HAL User Manual
Defines
SMBUS Error Code definition
SMBUS Exported Types

SMBUS Error Code definition. More...

Defines

#define HAL_SMBUS_ERROR_NONE   (0x00000000U)
#define HAL_SMBUS_ERROR_BERR   (0x00000001U)
#define HAL_SMBUS_ERROR_ARLO   (0x00000002U)
#define HAL_SMBUS_ERROR_ACKF   (0x00000004U)
#define HAL_SMBUS_ERROR_OVR   (0x00000008U)
#define HAL_SMBUS_ERROR_HALTIMEOUT   (0x00000010U)
#define HAL_SMBUS_ERROR_BUSTIMEOUT   (0x00000020U)
#define HAL_SMBUS_ERROR_ALERT   (0x00000040U)
#define HAL_SMBUS_ERROR_PECERR   (0x00000080U)
#define HAL_SMBUS_ERROR_INVALID_CALLBACK   (0x00000100U)
#define HAL_SMBUS_ERROR_INVALID_PARAM   (0x00000200U)

Detailed Description

SMBUS Error Code definition.


Define Documentation

#define HAL_SMBUS_ERROR_ACKF   (0x00000004U)

ACKF error

Definition at line 117 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler(), SMBUS_Master_ISR(), and SMBUS_Slave_ISR().

#define HAL_SMBUS_ERROR_ALERT   (0x00000040U)

Alert error

Definition at line 121 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().

#define HAL_SMBUS_ERROR_ARLO   (0x00000002U)

ARLO error

Definition at line 116 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().

#define HAL_SMBUS_ERROR_BERR   (0x00000001U)

BERR error

Definition at line 115 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().

#define HAL_SMBUS_ERROR_BUSTIMEOUT   (0x00000020U)

Bus Timeout error

Definition at line 120 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().

#define HAL_SMBUS_ERROR_HALTIMEOUT   (0x00000010U)

Timeout error

Definition at line 119 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_IsDeviceReady(), and SMBUS_WaitOnFlagUntilTimeout().

#define HAL_SMBUS_ERROR_INVALID_CALLBACK   (0x00000100U)
#define HAL_SMBUS_ERROR_INVALID_PARAM   (0x00000200U)

Invalid Parameters error

Definition at line 126 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_Slave_Receive_IT(), and HAL_SMBUS_Slave_Transmit_IT().

#define HAL_SMBUS_ERROR_NONE   (0x00000000U)
#define HAL_SMBUS_ERROR_OVR   (0x00000008U)

OVR error

Definition at line 118 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().

#define HAL_SMBUS_ERROR_PECERR   (0x00000080U)

PEC error

Definition at line 122 of file stm32l4xx_hal_smbus.h.

Referenced by SMBUS_ITErrorHandler().