-api-id | -api-type |
---|---|
M:Windows.Devices.I2c.I2cDevice.WriteRead(System.Byte[],System.Byte[]) |
winrt method |
Performs an atomic operation to write data to and then read data from the inter-integrated circuit (I2 C) bus on which the device is connected, and sends a restart condition between the write and read operations.
A buffer that contains the data that you want to write to the I2 C device. This data should not include the bus address.
The buffer to which you want to read the data from the I2 C bus. The length of the buffer determines how much data to request from the device.
The bus address was not acknowledged.
The I2 C device negatively acknowledged the data transfer before the entire buffer was read.
lowLevel