#[repr(C)]pub struct Status { /* private fields */ }
Implementations§
Source§impl Status
impl Status
pub const ZERO: Self
Sourcepub const fn new_with_raw_value(value: u24) -> Status
pub const fn new_with_raw_value(value: u24) -> Status
Creates a new instance of this bitfield with the given raw value.
No checks are performed on the value, so it is possible to set bits that don’t have any accessors specified.
pub const fn rf_sw(&self) -> u4
pub const fn smp_err(&self) -> u4
pub const fn pll_lock(&self) -> u4
pub const fn ifc_mode(&self) -> u4
pub const fn proto_rev(&self) -> u7
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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
Mutably borrows from an owned value. Read more