4.2.1.5 i2c_write2ByteRegister
Function to write 1 byte of data to a register location.
void i2c_write2ByteRegister(
i2c2_address_t address, uint8_t reg, uint16_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
