Enum Priv
#[repr(u8)]pub enum Priv {
Anytime = 0,
Privileged = 1,
}Variants§
Anytime = 0
Alarm and SSR underflow configuration and interrupt clear can be written when the APB access is privileged or non-privileged.
Privileged = 1
Alarm and SSR underflow configuration and interrupt clear can be written only when the APB access is privileged.
Implementations§
Trait Implementations§
impl Copy for Priv
impl Eq for Priv
§impl Ord for Priv
impl Ord for Priv
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Priv
impl PartialOrd for Priv
impl StructuralPartialEq for Priv
Auto Trait Implementations§
impl Freeze for Priv
impl RefUnwindSafe for Priv
impl Send for Priv
impl Sync for Priv
impl Unpin for Priv
impl UnsafeUnpin for Priv
impl UnwindSafe for Priv
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