pub unsafe extern "C" fn I2C_Read(
this: *mut I2C,
registerAddress: c_int,
count: c_int,
data: *mut u8,
) -> boolExpand description
Execute a read transaction with the device.
Read bytes from a device. Most I2C devices will auto-increment the register pointer internally allowing you to read consecutive registers on a device in a single transaction.
@param registerAddress The register to read first in the transaction. @param count The number of bytes to read in the transaction. @param data A pointer to the array of bytes to store the data read from the device. @return Transfer Aborted… false for success, true for aborted.