HAL_I2C_Mem_Read() function
Read an amount of data in blocking mode from a specific memory address
Arguments
hi2c
Pointer to a I2C_HandleTypeDef structure that contains the configuration information for the specified I2C.
DevAddress
Target device address: The device 7 bits address value in datasheet must be shifted to the left before calling the interface
MemAddress
Internal memory address
MemAddSize
Size of internal memory address
pData
Pointer to data buffer
Size
Amount of data to be sent
Timeout
Timeout duration
Return value
HAL status
Examples
HAL_I2C_Mem_Read() is referenced by
9 libraries and example projects.
Functions called by HAL_I2C_Mem_Read()
HAL_I2C_Mem_Read()
assert_failed() all items filtered out
Data read by HAL_I2C_Mem_Read()
Data written by HAL_I2C_Mem_Read()
HAL_I2C_Mem_Read()::tickstart HAL_I2C_Mem_Read()::tmpreg all items filtered out
HAL_I2C_Mem_Read()
HAL_I2C_Mem_Read()::tmpreg all items filtered out
Type of HAL_I2C_Mem_Read()
HAL_I2C_Mem_Read()
uint32_t all items filtered out