Enum stm32_metapac::syscfg::vals::Sec
#[repr(u8)]pub enum Sec {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
SBS_CFGR2 register accessible through secure or non-secure transaction
B_0X1 = 1
SBS_CFGR2 register only accessible through secure transaction
Implementations§
Trait Implementations§
§impl Ord for Sec
impl Ord for Sec
§impl PartialOrd for Sec
impl PartialOrd for Sec
§fn partial_cmp(&self, other: &Sec) -> Option<Ordering>
fn partial_cmp(&self, other: &Sec) -> 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 Sec
impl Eq for Sec
impl StructuralEq for Sec
impl StructuralPartialEq for Sec
Auto Trait Implementations§
impl RefUnwindSafe for Sec
impl Send for Sec
impl Sync for Sec
impl Unpin for Sec
impl UnwindSafe for Sec
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