I2C_ReadOnly

Function I2C_ReadOnly 

Source
pub unsafe extern "C" fn I2C_ReadOnly(
    this: *mut I2C,
    count: c_int,
    buffer: *mut u8,
) -> bool
Expand description

Execute a read only transaction with the device.

Read bytes from a device. This method does not write any data to prompt the device.

@param buffer A pointer to the array of bytes to store the data read from the device. @param count The number of bytes to read in the transaction. @return Transfer Aborted… false for success, true for aborted.