I2C_Write

Function I2C_Write 

Source
pub unsafe extern "C" fn I2C_Write(
    this: *mut I2C,
    registerAddress: c_int,
    data: u8,
) -> bool
Expand description

Execute a write transaction with the device.

Write a single byte to a register on a device and wait until the transaction is complete.

@param registerAddress The address of the register on the device to be written. @param data The byte to write to the register on the device. @return Transfer Aborted… false for success, true for aborted.