Enum radio_sx1231::Error [−][src]
pub enum Error<SpiError, PinError> {
Spi(SpiError),
Pin(PinError),
InvalidConfiguration,
Aborted,
InvalidResponse,
Timeout,
Crc,
BufferSize(usize),
InvalidDevice(u8),
InvalidPacketSize(usize, usize),
UnexpectedValue(u8),
}
Expand description
Sx1231 error type
Variants
SPI error
Pin control error
Invalid configuration
Transaction aborted
Invalid response from device
Timeout while awaiting operation completion
incoming packet CRC error
BufferSize(usize)
Received packet exceeds buffer size
Tuple Fields of BufferSize
0: usize
InvalidDevice(u8)
Invalid or unrecognised device
Tuple Fields of InvalidDevice
0: u8
Packet size disagrees with FIFO interrupt (first is packet len, second is buffer size)
UnexpectedValue(u8)
Tuple Fields of UnexpectedValue
0: u8