/hal_stm32-3.4.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_smbus.c | 214 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, F… 215 static void SMBUS_ITError(SMBUS_HandleTypeDef *hsmbus); 218 static HAL_StatusTypeDef SMBUS_MasterTransmit_TXE(SMBUS_HandleTypeDef *hsmbus); 219 static HAL_StatusTypeDef SMBUS_MasterTransmit_BTF(SMBUS_HandleTypeDef *hsmbus); 220 static HAL_StatusTypeDef SMBUS_MasterReceive_RXNE(SMBUS_HandleTypeDef *hsmbus); 221 static HAL_StatusTypeDef SMBUS_MasterReceive_BTF(SMBUS_HandleTypeDef *hsmbus); 222 static HAL_StatusTypeDef SMBUS_Master_SB(SMBUS_HandleTypeDef *hsmbus); 223 static HAL_StatusTypeDef SMBUS_Master_ADD10(SMBUS_HandleTypeDef *hsmbus); 224 static HAL_StatusTypeDef SMBUS_Master_ADDR(SMBUS_HandleTypeDef *hsmbus); 226 static HAL_StatusTypeDef SMBUS_SlaveTransmit_TXE(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
D | stm32u5xx_hal_smbus_ex.c | 90 HAL_StatusTypeDef HAL_SMBUSEx_EnableWakeUp(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUSEx_EnableWakeUp() argument 93 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hsmbus->Instance)); in HAL_SMBUSEx_EnableWakeUp() 95 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUSEx_EnableWakeUp() 98 __HAL_LOCK(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 100 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUSEx_EnableWakeUp() 103 __HAL_SMBUS_DISABLE(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 106 hsmbus->Instance->CR1 |= I2C_CR1_WUPEN; in HAL_SMBUSEx_EnableWakeUp() 108 __HAL_SMBUS_ENABLE(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 110 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUSEx_EnableWakeUp() 113 __HAL_UNLOCK(hsmbus); in HAL_SMBUSEx_EnableWakeUp() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_smbus.c | 212 static HAL_StatusTypeDef SMBUS_WaitOnFlagUntilTimeout(SMBUS_HandleTypeDef *hsmbus, uint32_t Flag, 216 static HAL_StatusTypeDef SMBUS_Master_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 217 static HAL_StatusTypeDef SMBUS_Slave_ISR(SMBUS_HandleTypeDef *hsmbus, uint32_t StatusFlags); 218 static void SMBUS_ITErrorHandler(SMBUS_HandleTypeDef *hsmbus); 221 static void SMBUS_Enable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 222 static void SMBUS_Disable_IRQ(SMBUS_HandleTypeDef *hsmbus, uint32_t InterruptRequest); 225 static void SMBUS_Flush_TXDR(SMBUS_HandleTypeDef *hsmbus); 228 static void SMBUS_TransferConfig(SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t Size, 232 static void SMBUS_ConvertOtherXferOptions(SMBUS_HandleTypeDef *hsmbus); 289 HAL_StatusTypeDef HAL_SMBUS_Init(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUS_Init() argument [all …]
|
D | stm32h5xx_hal_smbus_ex.c | 86 HAL_StatusTypeDef HAL_SMBUSEx_EnableWakeUp(SMBUS_HandleTypeDef *hsmbus) in HAL_SMBUSEx_EnableWakeUp() argument 89 assert_param(IS_I2C_WAKEUP_FROMSTOP_INSTANCE(hsmbus->Instance)); in HAL_SMBUSEx_EnableWakeUp() 91 if (hsmbus->State == HAL_SMBUS_STATE_READY) in HAL_SMBUSEx_EnableWakeUp() 94 __HAL_LOCK(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 96 hsmbus->State = HAL_SMBUS_STATE_BUSY; in HAL_SMBUSEx_EnableWakeUp() 99 __HAL_SMBUS_DISABLE(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 102 hsmbus->Instance->CR1 |= I2C_CR1_WUPEN; in HAL_SMBUSEx_EnableWakeUp() 104 __HAL_SMBUS_ENABLE(hsmbus); in HAL_SMBUSEx_EnableWakeUp() 106 hsmbus->State = HAL_SMBUS_STATE_READY; in HAL_SMBUSEx_EnableWakeUp() 109 __HAL_UNLOCK(hsmbus); in HAL_SMBUSEx_EnableWakeUp() [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f4xx/drivers/include/ |
D | stm32f4xx_hal_smbus.h | 184 …void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Master T… 185 …void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Master R… 186 …void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Slave Tx… 187 …void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Slave Rx… 188 …void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Listen C… 189 …void (* MemTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Memory T… 190 …void (* MemRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Memory R… 191 …void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Error ca… 192 …void (* AbortCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); /*!< SMBUS Abort ca… 193 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32wlxx/drivers/include/ |
D | stm32wlxx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32h7xx/drivers/include/ |
D | stm32h7xx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32f0xx/drivers/include/ |
D | stm32f0xx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32c0xx/drivers/include/ |
D | stm32c0xx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32l5xx/drivers/include/ |
D | stm32l5xx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|
/hal_stm32-3.4.0/stm32cube/stm32mp1xx/drivers/include/ |
D | stm32mp1xx_hal_smbus.h | 162 void (* MasterTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 164 void (* MasterRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 166 void (* SlaveTxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 168 void (* SlaveRxCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 170 void (* ListenCpltCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 172 void (* ErrorCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 175 …void (* AddrCallback)(struct __SMBUS_HandleTypeDef *hsmbus, uint8_t TransferDirection, uint16_t Ad… 178 void (* MspInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 180 void (* MspDeInitCallback)(struct __SMBUS_HandleTypeDef *hsmbus); 207 typedef void (*pSMBUS_CallbackTypeDef)(SMBUS_HandleTypeDef *hsmbus); [all …]
|