pub struct Status0A(pub u8);
Tuple Fields§
§0: u8
Implementations§
source§impl Status0A
impl Status0A
sourcepub fn softfail(&self) -> bool
pub fn softfail(&self) -> bool
All soft reset packets with retries have failed to get a GoodCRC acknowledge. This status is cleared when a START_TX, TXON or SEND_HARD_RESET is executed
sourcepub fn retryfail(&self) -> bool
pub fn retryfail(&self) -> bool
All packet retries have failed to get a GoodCRC acknowledge. This status is cleared when a START_TX, TXON or SEND_HARD_RESET is executed
sourcepub fn power(&self) -> u8
pub fn power(&self) -> u8
Internal power state when logic internals needs to control the power state. POWER3 corresponds to PWR3 bit and POWER2 corresponds to PWR2 bit. The power state is the higher of both PWR[3:0] and {POWER3, POWER2, PWR[1:0]} so that if one is 03 and the other is F then the internal power state is F.
Trait Implementations§
source§impl PartialEq for Status0A
impl PartialEq for Status0A
impl Copy for Status0A
impl Eq for Status0A
impl StructuralPartialEq for Status0A
Auto Trait Implementations§
impl Freeze for Status0A
impl RefUnwindSafe for Status0A
impl Send for Status0A
impl Sync for Status0A
impl Unpin for Status0A
impl UnwindSafe for Status0A
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
impl<T, U> UnsafeFrom<U> for Twhere
U: Into<T>,
source§unsafe fn unsafe_from(other: U) -> T
unsafe fn unsafe_from(other: U) -> T
Calls U::into(other)
.
That is, this conversion is whatever the implementation of Into
<T> for U
chooses to
do.
source§impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
impl<T, U> UnsafeInto<U> for Twhere
U: UnsafeFrom<T>,
source§unsafe fn unsafe_into(self) -> U
unsafe fn unsafe_into(self) -> U
Calls U::unsafe_from(self)
.
That is, this conversion is whatever the implementation of UnsafeFrom
<T> for U
chooses to do.