62#ifdef HAL_I2C_MODULE_ENABLED
165 tmpreg |= DigitalFilter << 8U;
#define CLEAR_BIT(REG, BIT)
#define SET_BIT(REG, BIT)
#define IS_I2C_ALL_INSTANCE(INSTANCE)
#define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE)
@ HAL_I2C_STATE_BUSY
An internal process is ongoing.
@ HAL_I2C_STATE_READY
Peripheral Initialized and ready for use.
HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter)
HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter)
HAL_StatusTypeDef HAL_I2CEx_EnableWakeUp(I2C_HandleTypeDef *hi2c)
HAL_StatusTypeDef HAL_I2CEx_DisableWakeUp(I2C_HandleTypeDef *hi2c)
void HAL_I2CEx_DisableFastModePlus(uint32_t ConfigFastModePlus)
void HAL_I2CEx_EnableFastModePlus(uint32_t ConfigFastModePlus)
#define IS_I2C_ANALOG_FILTER(FILTER)
#define IS_I2C_FASTMODEPLUS(__CONFIG__)
#define IS_I2C_DIGITAL_FILTER(FILTER)
#define __HAL_I2C_DISABLE(__HANDLE__)
Disable the specified I2C peripheral.
#define __HAL_I2C_ENABLE(__HANDLE__)
Enable the specified I2C peripheral.
struct __I2C_HandleTypeDef I2C_HandleTypeDef
#define I2C_CR1_ANFOFF
Analog noise filter OFF.
#define I2C_CR1_WUPEN
Wakeup from STOP enable.
#define I2C_CR1_DNF
Digital noise filter.
#define __HAL_RCC_SYSCFG_CLK_ENABLE()
Enable or disable the APB4 peripheral clock.
This file contains all the functions prototypes for the HAL module driver.
#define assert_param(expr)
Uncomment the line below to expanse the "assert_param" macro in the HAL drivers code.
HAL_StatusTypeDef
HAL Status structures definition.
#define __HAL_UNLOCK(__HANDLE__)
#define __HAL_LOCK(__HANDLE__)
__IO uint32_t CR1
I2C Control register 1, Address offset: 0x00.
I2C_TypeDef * Instance
I2C registers base address.
__IO HAL_I2C_StateTypeDef State
I2C communication state.