This specifies possible options for handling length errors, i.e. when the specified number of bytes cannot be read or written. Even if these are suppressed, exceptions may still be thrown for bus errors, e.g. if there is a timeout because the clock line is held low too long.

Namespace: Gadgeteer.Interfaces
Assembly: Gadgeteer (in Gadgeteer.dll) Version: 2.41.0.0 (2.41.500.0)

Syntax

C#
public enum LengthErrorBehavior

Members

Member nameValueDescription
ThrowException0 Throw an exception if the right number of bytes is not written/read.
SuppressException1 Suppress exceptions if the right number of bytes is not written/read.

See Also