-api-id | -api-type |
---|---|
M:Windows.Devices.I2c.I2cDevice.WriteReadPartial(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 returns information about the success of the operation that you can use for error handling.
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.
A structure that contains information about whether both the read and write parts of the operation succeeded and the sum of the actual number of bytes that the operation wrote and the actual number of bytes that the operation read.
WriteRead, ReadPartial, WritePartial, I2cTransferResult, I2CTransferStatus
lowLevel