STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#define | __HAL_SMBUS_RESET_HANDLE_STATE(__HANDLE__) |
Reset SMBUS handle state. | |
#define | __HAL_SMBUS_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable or disable the specified SMBUS interrupts. | |
#define | __HAL_SMBUS_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
#define | __HAL_SMBUS_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Checks if the specified SMBUS interrupt source is enabled or disabled. | |
#define | __HAL_SMBUS_GET_FLAG(__HANDLE__, __FLAG__) |
Checks whether the specified SMBUS flag is set or not. | |
#define | __HAL_SMBUS_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clears the SMBUS pending flags which are cleared by writing 0 in a specific bit. | |
#define | __HAL_SMBUS_CLEAR_ADDRFLAG(__HANDLE__) |
Clears the SMBUS ADDR pending flag. | |
#define | __HAL_SMBUS_CLEAR_STOPFLAG(__HANDLE__) |
Clears the SMBUS STOPF pending flag. | |
#define | __HAL_SMBUS_ENABLE(__HANDLE__) |
Enable the SMBUS peripheral. | |
#define | __HAL_SMBUS_DISABLE(__HANDLE__) |
Disable the SMBUS peripheral. | |
#define | __HAL_SMBUS_GENERATE_NACK(__HANDLE__) |
Generate a Non-Acknowledge SMBUS peripheral in Slave mode. | |
#define __HAL_SMBUS_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Reset SMBUS handle state.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
None |
Definition at line 400 of file stm32f4xx_hal_smbus.h.
#define __HAL_SMBUS_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_smbus.h>
Enable or disable the specified SMBUS interrupts.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
__INTERRUPT__ | specifies the interrupt source to enable or disable. This parameter can be one of the following values:
|
None |
Definition at line 413 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_EnableAlert_IT(), HAL_SMBUS_EnableListen_IT(), HAL_SMBUS_Master_Receive_IT(), HAL_SMBUS_Master_Transmit_IT(), HAL_SMBUS_Slave_Receive_IT(), and HAL_SMBUS_Slave_Transmit_IT().
#define __HAL_SMBUS_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_smbus.h>
Definition at line 414 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_DisableAlert_IT(), HAL_SMBUS_DisableListen_IT(), HAL_SMBUS_ER_IRQHandler(), HAL_SMBUS_Master_Abort_IT(), SMBUS_MasterReceive_BTF(), SMBUS_MasterReceive_RXNE(), SMBUS_MasterTransmit_BTF(), SMBUS_MasterTransmit_TXE(), SMBUS_Slave_AF(), SMBUS_Slave_STOPF(), SMBUS_SlaveReceive_RXNE(), and SMBUS_SlaveTransmit_TXE().
#define __HAL_SMBUS_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_smbus.h>
Checks if the specified SMBUS interrupt source is enabled or disabled.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
__INTERRUPT__ | specifies the SMBUS interrupt source to check. This parameter can be one of the following values:
|
The | new state of INTERRUPT (TRUE or FALSE). |
Definition at line 426 of file stm32f4xx_hal_smbus.h.
#define __HAL_SMBUS_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_smbus.h>
Checks whether the specified SMBUS flag is set or not.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
Definition at line 457 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_IsDeviceReady(), HAL_SMBUS_Master_Receive_IT(), HAL_SMBUS_Master_Transmit_IT(), SMBUS_ITError(), SMBUS_Slave_ADDR(), SMBUS_Slave_STOPF(), and SMBUS_WaitOnFlagUntilTimeout().
#define __HAL_SMBUS_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_smbus.h>
Clears the SMBUS pending flags which are cleared by writing 0 in a specific bit.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 474 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_EnableAlert_IT(), HAL_SMBUS_ER_IRQHandler(), HAL_SMBUS_IsDeviceReady(), and SMBUS_Slave_AF().
#define __HAL_SMBUS_CLEAR_ADDRFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Clears the SMBUS ADDR pending flag.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
None |
Definition at line 481 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_IsDeviceReady(), HAL_SMBUS_Slave_Receive_IT(), HAL_SMBUS_Slave_Transmit_IT(), and SMBUS_Master_ADDR().
#define __HAL_SMBUS_CLEAR_STOPFLAG | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Clears the SMBUS STOPF pending flag.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUS where x: 1, 2, or 3 to select the SMBUS peripheral. |
None |
Definition at line 494 of file stm32f4xx_hal_smbus.h.
Referenced by SMBUS_Slave_STOPF().
#define __HAL_SMBUS_ENABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Enable the SMBUS peripheral.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUSx where x: 1 or 2 to select the SMBUS peripheral. |
None |
Definition at line 507 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_EnableListen_IT(), HAL_SMBUS_Init(), HAL_SMBUS_IsDeviceReady(), HAL_SMBUS_Master_Receive_IT(), HAL_SMBUS_Master_Transmit_IT(), HAL_SMBUS_Slave_Receive_IT(), and HAL_SMBUS_Slave_Transmit_IT().
#define __HAL_SMBUS_DISABLE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Disable the SMBUS peripheral.
__HANDLE__ | specifies the SMBUS Handle. This parameter can be SMBUSx where x: 1 or 2 to select the SMBUS peripheral. |
None |
Definition at line 514 of file stm32f4xx_hal_smbus.h.
Referenced by HAL_SMBUS_DeInit(), HAL_SMBUS_Init(), and SMBUS_ITError().
#define __HAL_SMBUS_GENERATE_NACK | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_smbus.h>
Generate a Non-Acknowledge SMBUS peripheral in Slave mode.
__HANDLE__ | specifies the SMBUS Handle. |
None |
Definition at line 520 of file stm32f4xx_hal_smbus.h.