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

I2C_MasterRequestWrite() function

Syntax

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

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:6577
static HAL_StatusTypeDef I2C_MasterRequestWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Timeout, uint32_t Tickstart)
stm32f4xx_hal_i2c.c:358
static HAL_StatusTypeDef I2C_MasterRequestWrite(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint32_t Timeout, uint32_t Tickstart);
stm32f4xx_hal_i2c.c:1093HAL_I2C_Master_Transmit()
if (I2C_MasterRequestWrite(hi2c, DevAddress, Timeout, tickstart) != HAL_OK)