#[repr(u8)]
pub enum Error<S, P> {
SpiError(S),
PinError(P),
ResetTimeout,
ReadOnlyRegister,
WriteOnlyRegister,
BurstReadNotPermitted,
RegisterContentMismatch,
}
Expand description
Represents the possible errors.
#[repr(u8)]
pub enum Error<S, P> {
SpiError(S),
PinError(P),
ResetTimeout,
ReadOnlyRegister,
WriteOnlyRegister,
BurstReadNotPermitted,
RegisterContentMismatch,
}
Represents the possible errors.