Ashet OS

enum: ashet.io.i2c.Operation.Error

Items

none = 0

This batch item was fully processed.

device_not_found = 1

No device did acknowledge the address.

no_acknowledge = 2

While writing the data, the device returned a NAK.

Note:

The ACK/NAK during the addressing phase is handled by device_not_found.

aborted = 3

A previous batch item errored and this item wasn't executed at all.

timeout = 4

A bus participant did stretch the clock for too long.

fault = 5

During the processing of the operation, a hardware error occurred.

reserved_address = 6

The operation would've operated on a reserved I2C address.