Enum bluenrg::HardwareError [−][src]
pub enum HardwareError { SpiFramingError, RadioStateError, TimerOverrunError, }
Hardware event codes returned by the HardwareError HCI event.
Variants
SpiFramingError
Error on the SPI bus has been detected, most likely caused by incorrect SPI configuration on the external micro-controller.
RadioStateError
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.
TimerOverrunError
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 Copy for HardwareError
[src]
impl Copy for HardwareError
impl Clone for HardwareError
[src]
impl Clone for HardwareError
fn clone(&self) -> HardwareError
[src]
fn clone(&self) -> HardwareError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for HardwareError
[src]
impl Debug for HardwareError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for HardwareError
[src]
impl PartialEq for HardwareError
fn eq(&self, other: &HardwareError) -> bool
[src]
fn eq(&self, other: &HardwareError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl TryFrom<u8> for HardwareError
[src]
impl TryFrom<u8> for HardwareError
type Error = InvalidHardwareError
try_from
)The type returned in the event of a conversion error.
fn try_from(value: u8) -> Result<HardwareError, Self::Error>
[src]
fn try_from(value: u8) -> Result<HardwareError, Self::Error>
try_from
)Performs the conversion.
Auto Trait Implementations
impl Send for HardwareError
impl Send for HardwareError
impl Sync for HardwareError
impl Sync for HardwareError