4.2.1.1 i2c_write1ByteRegister

Function to write 1 byte of data to a register location.

void i2c_write1ByteRegister(
    i2c2_address_t address,    uint8_t reg,    uint8_t data
)

Parameters

address

Type: i2c2_address_t

[type]i2c_address_t The slave address [in] reg [type]uint8_t The register address to be written to [in] data [type]uint8_t The data to be written

Returns

Type: void

None