#[repr(transparent)]pub struct Vprstatus(pub u32);Expand description
VPR state information.
Tuple Fields§
§0: u32Implementations§
Source§impl Vprstatus
impl Vprstatus
pub const fn cpustatus(&self) -> Cpustatus
pub const fn set_cpustatus(&mut self, val: Cpustatus)
Sourcepub const fn rtpenabled(&self) -> bool
pub const fn rtpenabled(&self) -> bool
Mirrors the ENABLERTPERIPH bit in the NORDIC.VPRNORDICCTRL CSR
Sourcepub const fn set_rtpenabled(&mut self, val: bool)
pub const fn set_rtpenabled(&mut self, val: bool)
Mirrors the ENABLERTPERIPH bit in the NORDIC.VPRNORDICCTRL CSR
Sourcepub const fn rtpstall(&self) -> bool
pub const fn rtpstall(&self) -> bool
Stalled waiting for real-time peripheral blocking CSR access, for example WAIT, OUTB with dirty status
Sourcepub const fn set_rtpstall(&mut self, val: bool)
pub const fn set_rtpstall(&mut self, val: bool)
Stalled waiting for real-time peripheral blocking CSR access, for example WAIT, OUTB with dirty status
Trait Implementations§
impl Copy for Vprstatus
impl Eq for Vprstatus
impl StructuralPartialEq for Vprstatus
Auto Trait Implementations§
impl Freeze for Vprstatus
impl RefUnwindSafe for Vprstatus
impl Send for Vprstatus
impl Sync for Vprstatus
impl Unpin for Vprstatus
impl UnwindSafe for Vprstatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)