I2Cx_WriteData() function
Write a value in a register of the device through BUS.
Syntax
static void I2Cx_WriteData(uint8_t Addr,
uint8_t Reg,
uint8_t Value);
Arguments
Addr
Device address on BUS Bus.
Reg
The target register address to write
Value
The target register value to be written
Return value
HAL status