pub struct Control { /* private fields */ }Expand description
Control register
Implementations§
Source§impl Control
impl Control
Sourcepub const fn with_npriv(self, npriv: Npriv) -> Self
pub const fn with_npriv(self, npriv: Npriv) -> Self
Sets the thread mode privilege level value (nPRIV).
Sourcepub const fn with_spsel(self, spsel: Spsel) -> Self
pub const fn with_spsel(self, spsel: Spsel) -> Self
Sets the SPSEL value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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