ProviderI2cTransferStatus
ProviderI2cTransferStatus
ProviderI2cTransferStatus
ProviderI2cTransferStatus
Enum
Definition
Describes whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, or provides the reason that the transfers did not succeed.
public : enum class ProviderI2cTransferStatuspublic enum ProviderI2cTransferStatusPublic Enum ProviderI2cTransferStatus// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows IoT Extension SDK (introduced v10.0.10586.0)
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v2)
|
Fields
| FullTransfer FullTransfer FullTransfer FullTransfer | The data was entirely transferred. For WriteReadPartial, the data for both the write and the read operations was entirely transferred. For this status code, the value of the ProviderI2cTransferResult.BytesTransferred member that the method returns is the same as the size of the buffer you specified when you called the method, or is equal to the sum of the sizes of two buffers that you specified for WriteReadPartial. |
| PartialTransfer PartialTransfer PartialTransfer PartialTransfer | The I2 C device negatively acknowledged the data transfer before all of the data was transferred. For this status code, the value of the ProviderI2cTransferResult.BytesTransferred member that the method returns is the number of bytes actually transferred. For WriteReadPartial, the value is the sum of the number of bytes that the operation wrote and the number of bytes that the operation read. |
| SlaveAddressNotAcknowledged SlaveAddressNotAcknowledged SlaveAddressNotAcknowledged SlaveAddressNotAcknowledged | The bus address was not acknowledged. For this status code, the value of the ProviderI2cTransferResult.BytesTransferred member that the method returns of the method is 0. |