pub enum SP7R {
_0,
_1,
}Expand description
Possible values of the field SP7
Variants§
_0
This peripheral does not require supervisor privilege level for accesses.
_1
This peripheral requires supervisor privilege level for accesses.
Implementations§
Source§impl SP7R
impl SP7R
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true if the bit is set (1)
Trait Implementations§
impl Copy for SP7R
impl StructuralPartialEq for SP7R
Auto Trait Implementations§
impl Freeze for SP7R
impl RefUnwindSafe for SP7R
impl Send for SP7R
impl Sync for SP7R
impl Unpin for SP7R
impl UnwindSafe for SP7R
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