HAL
I2C_WaitOnBTFFlagUntilTimeout() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALI2C_WaitOnBTFFlagUntilTimeout()

I2C_WaitOnBTFFlagUntilTimeout() function

This function handles I2C Communication Timeout for specific usage of BTF flag.

Syntax

static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c,     uint32_t Timeout,     uint32_t Tickstart);
Implemented in stm32f4xx_hal_i2c.c:7357

Arguments

hi2c

Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.

Timeout

Timeout duration

Tickstart

Tick start value

Return value

HAL status

References

LocationReferrerText
stm32f4xx_hal_i2c.c:7357
static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart)
stm32f4xx_hal_i2c.c:367
static HAL_StatusTypeDef I2C_WaitOnBTFFlagUntilTimeout(I2C_HandleTypeDef *hi2c, uint32_t Timeout, uint32_t Tickstart);
stm32f4xx_hal_i2c.c:1138HAL_I2C_Master_Transmit()
if (I2C_WaitOnBTFFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_i2c.c:2586HAL_I2C_Mem_Write()
if (I2C_WaitOnBTFFlagUntilTimeout(hi2c, Timeout, tickstart) != HAL_OK)

Call Tree

Functions calling I2C_WaitOnBTFFlagUntilTimeout()
Functions called by I2C_WaitOnBTFFlagUntilTimeout()
I2C_WaitOnBTFFlagUntilTimeout()
Type of I2C_WaitOnBTFFlagUntilTimeout()
I2C_WaitOnBTFFlagUntilTimeout()
all items filtered out