STM32L486xx HAL User Manual
Defines
HAL state definition
SMBUS Exported Types

HAL State definition. More...

Defines

#define HAL_SMBUS_STATE_RESET   (0x00000000U)
#define HAL_SMBUS_STATE_READY   (0x00000001U)
#define HAL_SMBUS_STATE_BUSY   (0x00000002U)
#define HAL_SMBUS_STATE_MASTER_BUSY_TX   (0x00000012U)
#define HAL_SMBUS_STATE_MASTER_BUSY_RX   (0x00000022U)
#define HAL_SMBUS_STATE_SLAVE_BUSY_TX   (0x00000032U)
#define HAL_SMBUS_STATE_SLAVE_BUSY_RX   (0x00000042U)
#define HAL_SMBUS_STATE_TIMEOUT   (0x00000003U)
#define HAL_SMBUS_STATE_ERROR   (0x00000004U)
#define HAL_SMBUS_STATE_LISTEN   (0x00000008U)

Detailed Description

HAL State definition.


Define Documentation

#define HAL_SMBUS_STATE_BUSY   (0x00000002U)
#define HAL_SMBUS_STATE_ERROR   (0x00000004U)

Reception process is ongoing

Definition at line 120 of file stm32l4xx_hal_smbus.h.

#define HAL_SMBUS_STATE_LISTEN   (0x00000008U)
#define HAL_SMBUS_STATE_MASTER_BUSY_RX   (0x00000022U)

Master Data Reception process is ongoing

Definition at line 116 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_EV_IRQHandler(), HAL_SMBUS_Master_Abort_IT(), HAL_SMBUS_Master_Receive_IT(), and SMBUS_Master_ISR().

#define HAL_SMBUS_STATE_MASTER_BUSY_TX   (0x00000012U)

Master Data Transmission process is ongoing

Definition at line 115 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_EV_IRQHandler(), HAL_SMBUS_Master_Abort_IT(), HAL_SMBUS_Master_Transmit_IT(), and SMBUS_Master_ISR().

#define HAL_SMBUS_STATE_READY   (0x00000001U)
#define HAL_SMBUS_STATE_RESET   (0x00000000U)

SMBUS not yet initialized or disabled

Definition at line 112 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_DeInit(), HAL_SMBUS_Init(), HAL_SMBUS_RegisterCallback(), and HAL_SMBUS_UnRegisterCallback().

#define HAL_SMBUS_STATE_SLAVE_BUSY_RX   (0x00000042U)

Slave Data Reception process is ongoing

Definition at line 118 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_EV_IRQHandler(), HAL_SMBUS_Slave_Receive_IT(), SMBUS_ITErrorHandler(), and SMBUS_Slave_ISR().

#define HAL_SMBUS_STATE_SLAVE_BUSY_TX   (0x00000032U)

Slave Data Transmission process is ongoing

Definition at line 117 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_EV_IRQHandler(), HAL_SMBUS_Slave_Transmit_IT(), SMBUS_ITErrorHandler(), and SMBUS_Slave_ISR().

#define HAL_SMBUS_STATE_TIMEOUT   (0x00000003U)

Timeout state

Definition at line 119 of file stm32l4xx_hal_smbus.h.

Referenced by HAL_SMBUS_IsDeviceReady().