#[repr(u8)]pub enum DisableStrictMode {
_RESERVED_0 = 0,
Ahbtm = 1,
Ahbsm1 = 2,
_RESERVED_3 = 3,
}Variants§
_RESERVED_0 = 0
Ahbtm = 1
Master strict mode is on and can access memories and peripherals at the same level or below that level.
Ahbsm1 = 2
Master strict mode is disabled and can access memories and peripherals at same level only.
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Clone for DisableStrictMode
impl Clone for DisableStrictMode
Source§fn clone(&self) -> DisableStrictMode
fn clone(&self) -> DisableStrictMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl From<DisableStrictMode> for u8
impl From<DisableStrictMode> for u8
Source§fn from(val: DisableStrictMode) -> u8
fn from(val: DisableStrictMode) -> u8
Converts to this type from the input type.
Source§impl From<u8> for DisableStrictMode
impl From<u8> for DisableStrictMode
Source§fn from(val: u8) -> DisableStrictMode
fn from(val: u8) -> DisableStrictMode
Converts to this type from the input type.
Source§impl Ord for DisableStrictMode
impl Ord for DisableStrictMode
Source§fn cmp(&self, other: &DisableStrictMode) -> Ordering
fn cmp(&self, other: &DisableStrictMode) -> Ordering
1.21.0 · 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
Source§impl PartialEq for DisableStrictMode
impl PartialEq for DisableStrictMode
Source§impl PartialOrd for DisableStrictMode
impl PartialOrd for DisableStrictMode
impl Copy for DisableStrictMode
impl Eq for DisableStrictMode
impl StructuralPartialEq for DisableStrictMode
Auto Trait Implementations§
impl Freeze for DisableStrictMode
impl RefUnwindSafe for DisableStrictMode
impl Send for DisableStrictMode
impl Sync for DisableStrictMode
impl Unpin for DisableStrictMode
impl UnwindSafe for DisableStrictMode
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