HAL
I2C_MasterRequestRead() is only used within HAL.
 
Symbols
loading...
Files
loading...

I2C_MasterRequestRead() function

Master sends target device address for read request.

Syntax

static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c,     uint16_t DevAddress,     uint32_t Timeout,     uint32_t Tickstart);
Implemented in stm32f4xx_hal_i2c.c:6647

Arguments

hi2c

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

DevAddress

Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface

Timeout

Timeout duration

Tickstart

Tick start value

Return value

HAL status

References

LocationReferrerText
stm32f4xx_hal_i2c.c:6647
static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Timeout, uint32_t Tickstart)
stm32f4xx_hal_i2c.c:359
static HAL_StatusTypeDef I2C_MasterRequestRead(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Timeout, uint32_t Tickstart);
stm32f4xx_hal_i2c.c:1214HAL_I2C_Master_Receive()
if (I2C_MasterRequestRead(hi2c, DevAddress, Timeout, tickstart) != HAL_OK)

Call Tree