STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Functions | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Transmit_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmit in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Receive_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Receive in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Master_Abort_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint16_t DevAddress) |
Abort a master/host FMPSMBUS process communication with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Slave_Transmit_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmit in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_Slave_Receive_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Receive in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_EnableAlert_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Enable the FMPSMBUS alert mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_DisableAlert_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Disable the FMPSMBUS alert mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_EnableListen_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Enable the Address listen mode with Interrupt. | |
HAL_StatusTypeDef | HAL_FMPSMBUS_DisableListen_IT (FMPSMBUS_HandleTypeDef *hfmpsmbus) |
Disable the Address listen mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_Master_Transmit_IT (SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmits in master mode an amount of data in blocking mode. | |
HAL_StatusTypeDef | HAL_SMBUS_Master_Receive_IT (SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Receive in master/host SMBUS mode an amount of data in non blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_Master_Abort_IT (SMBUS_HandleTypeDef *hsmbus, uint16_t DevAddress) |
Abort a master/host SMBUS process communication with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_Slave_Transmit_IT (SMBUS_HandleTypeDef *hsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Transmit in slave/device SMBUS mode an amount of data in non blocking mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_Slave_Receive_IT (SMBUS_HandleTypeDef *hsmbus, uint8_t *pData, uint16_t Size, uint32_t XferOptions) |
Enable the Address listen mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_EnableAlert_IT (SMBUS_HandleTypeDef *hsmbus) |
Enable the SMBUS alert mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_DisableAlert_IT (SMBUS_HandleTypeDef *hsmbus) |
Disable the SMBUS alert mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_EnableListen_IT (SMBUS_HandleTypeDef *hsmbus) |
Enable the Address listen mode with Interrupt. | |
HAL_StatusTypeDef | HAL_SMBUS_DisableListen_IT (SMBUS_HandleTypeDef *hsmbus) |
Disable the Address listen mode with Interrupt. | |
HAL_StatusTypeDef HAL_FMPSMBUS_Master_Transmit_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Transmit in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPSMBUS XferOptions definition |
HAL | status |
Definition at line 926 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, FMPSMBUS_HandleTypeDef::ErrorCode, FMPSMBUS_ConvertOtherXferOptions(), FMPSMBUS_Enable_IRQ(), FMPSMBUS_FIRST_AND_LAST_FRAME_NO_PEC, FMPSMBUS_FIRST_AND_LAST_FRAME_WITH_PEC, FMPSMBUS_FIRST_FRAME, FMPSMBUS_FIRST_FRAME_WITH_PEC, FMPSMBUS_GENERATE_START_WRITE, FMPSMBUS_GET_PEC_MODE, FMPSMBUS_IT_TX, FMPSMBUS_NO_STARTSTOP, FMPSMBUS_RELOAD_MODE, FMPSMBUS_SENDPEC_MODE, FMPSMBUS_TransferConfig(), HAL_BUSY, HAL_ERROR, HAL_FMPSMBUS_ERROR_NONE, HAL_FMPSMBUS_STATE_MASTER_BUSY_TX, HAL_FMPSMBUS_STATE_READY, HAL_OK, FMPSMBUS_HandleTypeDef::Instance, IS_FMPSMBUS_TRANSFER_OPTIONS_REQUEST, IS_FMPSMBUS_TRANSFER_OTHER_OPTIONS_REQUEST, MAX_NBYTE_SIZE, FMPSMBUS_HandleTypeDef::pBuffPtr, FMPSMBUS_HandleTypeDef::PreviousState, FMPSMBUS_HandleTypeDef::State, FMPSMBUS_HandleTypeDef::XferCount, FMPSMBUS_HandleTypeDef::XferOptions, and FMPSMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_FMPSMBUS_Master_Receive_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Receive in master/host FMPSMBUS mode an amount of data in non-blocking mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPSMBUS XferOptions definition |
HAL | status |
Definition at line 1064 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_LOCK, __HAL_UNLOCK, assert_param, FMPSMBUS_HandleTypeDef::ErrorCode, FMPSMBUS_ConvertOtherXferOptions(), FMPSMBUS_Enable_IRQ(), FMPSMBUS_GENERATE_START_READ, FMPSMBUS_IT_RX, FMPSMBUS_NO_STARTSTOP, FMPSMBUS_RELOAD_MODE, FMPSMBUS_SENDPEC_MODE, FMPSMBUS_TransferConfig(), HAL_BUSY, HAL_FMPSMBUS_ERROR_NONE, HAL_FMPSMBUS_STATE_MASTER_BUSY_RX, HAL_FMPSMBUS_STATE_READY, HAL_OK, IS_FMPSMBUS_TRANSFER_OPTIONS_REQUEST, IS_FMPSMBUS_TRANSFER_OTHER_OPTIONS_REQUEST, MAX_NBYTE_SIZE, FMPSMBUS_HandleTypeDef::pBuffPtr, FMPSMBUS_HandleTypeDef::PreviousState, FMPSMBUS_HandleTypeDef::State, FMPSMBUS_HandleTypeDef::XferCount, FMPSMBUS_HandleTypeDef::XferOptions, and FMPSMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_FMPSMBUS_Master_Abort_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus, |
uint16_t | DevAddress ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Abort a master/host FMPSMBUS process communication with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
DevAddress | Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
HAL | status |
Definition at line 1161 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_LOCK, __HAL_UNLOCK, FMPSMBUS_HandleTypeDef::ErrorCode, FMPSMBUS_AUTOEND_MODE, FMPSMBUS_Enable_IRQ(), FMPSMBUS_IT_RX, FMPSMBUS_IT_TX, FMPSMBUS_NO_STARTSTOP, FMPSMBUS_TransferConfig(), HAL_BUSY, HAL_ERROR, HAL_FMPSMBUS_ERROR_NONE, HAL_FMPSMBUS_STATE_MASTER_BUSY_RX, HAL_FMPSMBUS_STATE_MASTER_BUSY_TX, HAL_FMPSMBUS_STATE_READY, HAL_OK, FMPSMBUS_HandleTypeDef::PreviousState, and FMPSMBUS_HandleTypeDef::State.
HAL_StatusTypeDef HAL_FMPSMBUS_Slave_Transmit_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Transmit in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPSMBUS XferOptions definition |
HAL | status |
Definition at line 1226 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_FMPSMBUS_CLEAR_FLAG, __HAL_LOCK, __HAL_UNLOCK, assert_param, FMPSMBUS_HandleTypeDef::ErrorCode, FMPSMBUS_ConvertOtherXferOptions(), FMPSMBUS_Disable_IRQ(), FMPSMBUS_Enable_IRQ(), FMPSMBUS_FLAG_ADDR, FMPSMBUS_GET_PEC_MODE, FMPSMBUS_IT_ADDR, FMPSMBUS_IT_TX, FMPSMBUS_NO_STARTSTOP, FMPSMBUS_RELOAD_MODE, FMPSMBUS_SENDPEC_MODE, FMPSMBUS_TransferConfig(), HAL_BUSY, HAL_ERROR, HAL_FMPSMBUS_ERROR_INVALID_PARAM, HAL_FMPSMBUS_ERROR_NONE, HAL_FMPSMBUS_STATE_LISTEN, HAL_FMPSMBUS_STATE_SLAVE_BUSY_TX, HAL_OK, FMPSMBUS_HandleTypeDef::Instance, IS_FMPSMBUS_TRANSFER_OPTIONS_REQUEST, MAX_NBYTE_SIZE, FMPSMBUS_HandleTypeDef::pBuffPtr, FMPSMBUS_HandleTypeDef::State, FMPSMBUS_HandleTypeDef::XferCount, FMPSMBUS_HandleTypeDef::XferOptions, and FMPSMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_FMPSMBUS_Slave_Receive_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Receive in slave/device FMPSMBUS mode an amount of data in non-blocking mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of FMPSMBUS XferOptions definition |
HAL | status |
Definition at line 1324 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_FMPSMBUS_CLEAR_FLAG, __HAL_LOCK, __HAL_UNLOCK, assert_param, FMPSMBUS_HandleTypeDef::ErrorCode, FMPSMBUS_ConvertOtherXferOptions(), FMPSMBUS_Disable_IRQ(), FMPSMBUS_Enable_IRQ(), FMPSMBUS_FLAG_ADDR, FMPSMBUS_GET_PEC_MODE, FMPSMBUS_IT_ADDR, FMPSMBUS_IT_RX, FMPSMBUS_NO_STARTSTOP, FMPSMBUS_RELOAD_MODE, FMPSMBUS_TransferConfig(), HAL_BUSY, HAL_ERROR, HAL_FMPSMBUS_ERROR_INVALID_PARAM, HAL_FMPSMBUS_ERROR_NONE, HAL_FMPSMBUS_STATE_LISTEN, HAL_FMPSMBUS_STATE_SLAVE_BUSY_RX, HAL_OK, FMPSMBUS_HandleTypeDef::Instance, IS_FMPSMBUS_TRANSFER_OPTIONS_REQUEST, FMPSMBUS_HandleTypeDef::pBuffPtr, FMPSMBUS_HandleTypeDef::State, FMPSMBUS_HandleTypeDef::XferCount, FMPSMBUS_HandleTypeDef::XferOptions, and FMPSMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_FMPSMBUS_EnableAlert_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus | ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Enable the FMPSMBUS alert mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUSx peripheral. |
HAL | status |
Definition at line 1444 of file stm32f4xx_hal_fmpsmbus.c.
References __HAL_FMPSMBUS_CLEAR_FLAG, FMPSMBUS_Enable_IRQ(), FMPSMBUS_FLAG_ALERT, FMPSMBUS_IT_ALERT, HAL_OK, and FMPSMBUS_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_FMPSMBUS_DisableAlert_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus | ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Disable the FMPSMBUS alert mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUSx peripheral. |
HAL | status |
Definition at line 1463 of file stm32f4xx_hal_fmpsmbus.c.
References FMPSMBUS_Disable_IRQ(), FMPSMBUS_IT_ALERT, HAL_OK, and FMPSMBUS_HandleTypeDef::Instance.
HAL_StatusTypeDef HAL_FMPSMBUS_EnableListen_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus | ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Enable the Address listen mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
HAL | status |
Definition at line 1404 of file stm32f4xx_hal_fmpsmbus.c.
References FMPSMBUS_Enable_IRQ(), FMPSMBUS_IT_ADDR, HAL_FMPSMBUS_STATE_LISTEN, HAL_OK, and FMPSMBUS_HandleTypeDef::State.
HAL_StatusTypeDef HAL_FMPSMBUS_DisableListen_IT | ( | FMPSMBUS_HandleTypeDef * | hfmpsmbus | ) |
#include <stm32f4xx_hal_fmpsmbus.h>
Disable the Address listen mode with Interrupt.
hfmpsmbus | Pointer to a FMPSMBUS_HandleTypeDef structure that contains the configuration information for the specified FMPSMBUS. |
HAL | status |
Definition at line 1420 of file stm32f4xx_hal_fmpsmbus.c.
References FMPSMBUS_Disable_IRQ(), FMPSMBUS_IT_ADDR, HAL_BUSY, HAL_FMPSMBUS_STATE_LISTEN, HAL_FMPSMBUS_STATE_READY, HAL_OK, and FMPSMBUS_HandleTypeDef::State.
HAL_StatusTypeDef HAL_SMBUS_Master_Transmit_IT | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_smbus.h>
Transmits in master mode an amount of data in blocking mode.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
DevAddress | Target device address The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer |
HAL | status |
Definition at line 918 of file stm32f4xx_hal_smbus.c.
References __HAL_LOCK, __HAL_SMBUS_ENABLE, __HAL_SMBUS_ENABLE_IT, __HAL_SMBUS_GET_FLAG, __HAL_UNLOCK, assert_param, __SMBUS_HandleTypeDef::Devaddress, __SMBUS_HandleTypeDef::ErrorCode, HAL_BUSY, HAL_OK, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_MODE_MASTER, HAL_SMBUS_STATE_BUSY_TX, HAL_SMBUS_STATE_READY, HAL_TIMEOUT, __SMBUS_HandleTypeDef::Instance, IS_SMBUS_TRANSFER_OPTIONS_REQUEST, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::pBuffPtr, __SMBUS_HandleTypeDef::PreviousState, SMBUS_FIRST_AND_LAST_FRAME_NO_PEC, SMBUS_FIRST_AND_LAST_FRAME_WITH_PEC, SMBUS_FIRST_FRAME, SMBUS_FLAG_BUSY, SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, SMBUS_STATE_NONE, SMBUS_TIMEOUT_BUSY_FLAG, __SMBUS_HandleTypeDef::State, __SMBUS_HandleTypeDef::XferCount, __SMBUS_HandleTypeDef::XferOptions, and __SMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_SMBUS_Master_Receive_IT | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint16_t | DevAddress, | ||
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_smbus.h>
Receive in master/host SMBUS mode an amount of data in non blocking mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
DevAddress | Target device address The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of SMBUS XferOptions definition |
HAL | status |
Definition at line 1003 of file stm32f4xx_hal_smbus.c.
References __HAL_LOCK, __HAL_SMBUS_ENABLE, __HAL_SMBUS_ENABLE_IT, __HAL_SMBUS_GET_FLAG, __HAL_UNLOCK, assert_param, __SMBUS_HandleTypeDef::Devaddress, __SMBUS_HandleTypeDef::ErrorCode, HAL_BUSY, HAL_OK, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_MODE_MASTER, HAL_SMBUS_STATE_BUSY_RX, HAL_SMBUS_STATE_READY, HAL_TIMEOUT, __SMBUS_HandleTypeDef::Instance, IS_SMBUS_TRANSFER_OPTIONS_REQUEST, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::pBuffPtr, __SMBUS_HandleTypeDef::PreviousState, SMBUS_FIRST_AND_LAST_FRAME_NO_PEC, SMBUS_FIRST_AND_LAST_FRAME_WITH_PEC, SMBUS_FIRST_FRAME, SMBUS_FLAG_BUSY, SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, SMBUS_LAST_FRAME_NO_PEC, SMBUS_LAST_FRAME_WITH_PEC, SMBUS_NEXT_FRAME, SMBUS_NO_OPTION_FRAME, SMBUS_STATE_MASTER_BUSY_TX, SMBUS_STATE_NONE, SMBUS_TIMEOUT_BUSY_FLAG, __SMBUS_HandleTypeDef::State, __SMBUS_HandleTypeDef::XferCount, __SMBUS_HandleTypeDef::XferOptions, and __SMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_SMBUS_Master_Abort_IT | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint16_t | DevAddress ) |
#include <stm32f4xx_hal_smbus.h>
Abort a master/host SMBUS process communication with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
DevAddress | Target device address The device 7 bits address value in datasheet must be shifted to the left before calling the interface |
HAL | status |
Definition at line 1117 of file stm32f4xx_hal_smbus.c.
References __HAL_LOCK, __HAL_SMBUS_DISABLE_IT, __HAL_UNLOCK, __SMBUS_HandleTypeDef::ErrorCode, HAL_BUSY, HAL_OK, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_STATE_ABORT, __SMBUS_HandleTypeDef::Init, __SMBUS_HandleTypeDef::Instance, SMBUS_InitTypeDef::PeripheralMode, __SMBUS_HandleTypeDef::PreviousState, SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, SMBUS_ITError(), SMBUS_PERIPHERAL_MODE_SMBUS_HOST, SMBUS_STATE_NONE, __SMBUS_HandleTypeDef::State, UNUSED, and __SMBUS_HandleTypeDef::XferCount.
HAL_StatusTypeDef HAL_SMBUS_Slave_Transmit_IT | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_smbus.h>
Transmit in slave/device SMBUS mode an amount of data in non blocking mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of SMBUS XferOptions definition |
HAL | status |
Definition at line 1167 of file stm32f4xx_hal_smbus.c.
References __HAL_LOCK, __HAL_SMBUS_CLEAR_ADDRFLAG, __HAL_SMBUS_ENABLE, __HAL_SMBUS_ENABLE_IT, __HAL_UNLOCK, assert_param, __SMBUS_HandleTypeDef::ErrorCode, HAL_BUSY, HAL_ERROR, HAL_OK, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_MODE_SLAVE, HAL_SMBUS_STATE_BUSY_TX_LISTEN, HAL_SMBUS_STATE_LISTEN, __SMBUS_HandleTypeDef::Instance, IS_SMBUS_TRANSFER_OPTIONS_REQUEST, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::pBuffPtr, SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, __SMBUS_HandleTypeDef::State, __SMBUS_HandleTypeDef::XferCount, __SMBUS_HandleTypeDef::XferOptions, and __SMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_SMBUS_Slave_Receive_IT | ( | SMBUS_HandleTypeDef * | hsmbus, |
uint8_t * | pData, | ||
uint16_t | Size, | ||
uint32_t | XferOptions ) |
#include <stm32f4xx_hal_smbus.h>
Enable the Address listen mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
pData | Pointer to data buffer |
Size | Amount of data to be sent |
XferOptions | Options of Transfer, value of SMBUS XferOptions definition |
HAL | status |
Definition at line 1233 of file stm32f4xx_hal_smbus.c.
References __HAL_LOCK, __HAL_SMBUS_CLEAR_ADDRFLAG, __HAL_SMBUS_ENABLE, __HAL_SMBUS_ENABLE_IT, __HAL_UNLOCK, assert_param, __SMBUS_HandleTypeDef::ErrorCode, HAL_BUSY, HAL_ERROR, HAL_OK, HAL_SMBUS_ERROR_NONE, HAL_SMBUS_MODE_SLAVE, HAL_SMBUS_STATE_BUSY_RX_LISTEN, HAL_SMBUS_STATE_LISTEN, __SMBUS_HandleTypeDef::Instance, IS_SMBUS_TRANSFER_OPTIONS_REQUEST, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::pBuffPtr, SMBUS_IT_BUF, SMBUS_IT_ERR, SMBUS_IT_EVT, __SMBUS_HandleTypeDef::State, __SMBUS_HandleTypeDef::XferCount, __SMBUS_HandleTypeDef::XferOptions, and __SMBUS_HandleTypeDef::XferSize.
HAL_StatusTypeDef HAL_SMBUS_EnableAlert_IT | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Enable the SMBUS alert mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUSx peripheral. |
HAL | status |
Definition at line 1363 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_CLEAR_FLAG, __HAL_SMBUS_ENABLE_IT, HAL_OK, __SMBUS_HandleTypeDef::Instance, SMBUS_FLAG_SMBALERT, and SMBUS_IT_ERR.
HAL_StatusTypeDef HAL_SMBUS_DisableAlert_IT | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Disable the SMBUS alert mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUSx peripheral. |
HAL | status |
Definition at line 1382 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_DISABLE_IT, HAL_OK, __SMBUS_HandleTypeDef::Instance, and SMBUS_IT_ERR.
HAL_StatusTypeDef HAL_SMBUS_EnableListen_IT | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Enable the Address listen mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
HAL | status |
Definition at line 1297 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_ENABLE, __HAL_SMBUS_ENABLE_IT, HAL_BUSY, HAL_OK, HAL_SMBUS_STATE_LISTEN, HAL_SMBUS_STATE_READY, __SMBUS_HandleTypeDef::Instance, SMBUS_IT_ERR, SMBUS_IT_EVT, and __SMBUS_HandleTypeDef::State.
HAL_StatusTypeDef HAL_SMBUS_DisableListen_IT | ( | SMBUS_HandleTypeDef * | hsmbus | ) |
#include <stm32f4xx_hal_smbus.h>
Disable the Address listen mode with Interrupt.
hsmbus | Pointer to a SMBUS_HandleTypeDef structure that contains the configuration information for the specified SMBUS. |
HAL | status |
Definition at line 1330 of file stm32f4xx_hal_smbus.c.
References __HAL_SMBUS_DISABLE_IT, HAL_BUSY, HAL_OK, HAL_SMBUS_MODE_NONE, HAL_SMBUS_STATE_LISTEN, HAL_SMBUS_STATE_READY, __SMBUS_HandleTypeDef::Instance, __SMBUS_HandleTypeDef::Mode, __SMBUS_HandleTypeDef::PreviousState, SMBUS_IT_ERR, SMBUS_IT_EVT, SMBUS_STATE_MSK, and __SMBUS_HandleTypeDef::State.