Enum stm32_metapac::rcc::vals::Nspriv
#[repr(u8)]pub enum Nspriv {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Read and write to RCC non-secure functions can be done by privileged or unprivileged access.
B_0X1 = 1
Read and write to RCC non-secure functions can be done by privileged access only
Implementations§
Trait Implementations§
§impl Ord for Nspriv
impl Ord for Nspriv
§impl PartialOrd for Nspriv
impl PartialOrd for Nspriv
§fn partial_cmp(&self, other: &Nspriv) -> Option<Ordering>
fn partial_cmp(&self, other: &Nspriv) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Nspriv
impl Eq for Nspriv
impl StructuralEq for Nspriv
impl StructuralPartialEq for Nspriv
Auto Trait Implementations§
impl RefUnwindSafe for Nspriv
impl Send for Nspriv
impl Sync for Nspriv
impl Unpin for Nspriv
impl UnwindSafe for Nspriv
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