HAL
FMPI2C_WaitOnSTOPFlagUntilTimeout() is only used within HAL.
 
Symbols
loading...
Files
loading...
CodeScopeSTM32 Libraries and SamplesHALFMPI2C_WaitOnSTOPFlagUntilTimeout()

FMPI2C_WaitOnSTOPFlagUntilTimeout() function

This function handles FMPI2C Communication Timeout for specific usage of STOP flag.

Syntax

static HAL_StatusTypeDef FMPI2C_WaitOnSTOPFlagUntilTimeout(FMPI2C_HandleTypeDef *hfmpi2c,     uint32_t Timeout,     uint32_t Tickstart);
Implemented in stm32f4xx_hal_fmpi2c.c:7085

Arguments

hfmpi2c

Pointer to a FMPI2C_HandleTypeDef structure that contains the configuration information for the specified FMPI2C.

Timeout

Timeout duration

Tickstart

Tick start value

Return value

HAL status

References

LocationReferrerText
stm32f4xx_hal_fmpi2c.c:7085
static HAL_StatusTypeDef FMPI2C_WaitOnSTOPFlagUntilTimeout(FMPI2C_HandleTypeDef *hfmpi2c, uint32_t Timeout,
stm32f4xx_hal_fmpi2c.c:467
static HAL_StatusTypeDef FMPI2C_WaitOnSTOPFlagUntilTimeout(FMPI2C_HandleTypeDef *hfmpi2c, uint32_t Timeout,
stm32f4xx_hal_fmpi2c.c:1225HAL_FMPI2C_Master_Transmit()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_fmpi2c.c:1345HAL_FMPI2C_Master_Receive()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_fmpi2c.c:1508HAL_FMPI2C_Slave_Transmit()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_fmpi2c.c:1639HAL_FMPI2C_Slave_Receive()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_fmpi2c.c:2611HAL_FMPI2C_Mem_Write()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)
stm32f4xx_hal_fmpi2c.c:2750HAL_FMPI2C_Mem_Read()
if (FMPI2C_WaitOnSTOPFlagUntilTimeout(hfmpi2c, Timeout, tickstart) != HAL_OK)