I2Cx_WriteData() function
Writes 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
I2Cx_WriteData() is called by 1 function and calls 2 functions:
![]()
I2Cx_WriteData()
I2Cx_WriteData() reads 2 variables:
![]()
I2Cx_WriteData()