[][src]Enum bluenrg::HardwareError

pub enum HardwareError {
    SpiFraming,
    RadioState,
    TimerOverrun,
}

Hardware event codes returned by the HardwareError HCI event.

Variants

SpiFraming

Error on the SPI bus has been detected, most likely caused by incorrect SPI configuration on the external micro-controller.

RadioState

Caused by a slow crystal startup and they are an indication that the HS_STARTUP_TIME in the device configuration needs to be tuned. After this event is recommended to hardware reset the device.

TimerOverrun

Caused by a slow crystal startup and they are an indication that the HS_STARTUP_TIME in the device configuration needs to be tuned. After this event is recommended to hardware reset the device.

Trait Implementations

impl Clone for HardwareError[src]

impl Copy for HardwareError[src]

impl Debug for HardwareError[src]

impl PartialEq<HardwareError> for HardwareError[src]

impl StructuralPartialEq for HardwareError[src]

impl TryFrom<u8> for HardwareError[src]

type Error = InvalidHardwareError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.