pub struct Status(/* private fields */);Expand description
status
Implementations§
Source§impl Status
impl Status
pub const STATE_OFFSET: usize = 0usize
pub const STATE_WIDTH: usize = 3usize
pub const STATE_MASK: u32 = 7u32
pub const SYNC_FAILED_OFFSET: usize = 3usize
pub const SYNC_FAILED_WIDTH: usize = 1usize
pub const SYNC_FAILED_MASK: u32 = 1u32
Sourcepub fn state(&self) -> Result<GrammeterStateE, UnknownVariant<u8>>
pub fn state(&self) -> Result<GrammeterStateE, UnknownVariant<u8>>
Grammeter State
Indicates the state of the cardinal grammeter
Sourcepub fn sync_failed(&self) -> bool
pub fn sync_failed(&self) -> bool
sync_failed
Sticky-bit indicating whether sync failed
Trait Implementations§
Source§impl Register for Status
impl Register for Status
Source§type Accesswidth = u32
type Accesswidth = u32
Primitive integer type representing the size of memory accesses used when
reading/writing this register.
Source§type ByteEndian = LittleEndian
type ByteEndian = LittleEndian
Ordering of bytes within each accesswidth subword.
Source§type WordEndian = LittleEndian
type WordEndian = LittleEndian
Ordering of accesswidth subwords within the register.
impl Copy for Status
impl Eq for Status
impl Send for Status
impl StructuralPartialEq for Status
impl Sync for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe 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