Struct Seccr
#[repr(transparent)]pub struct Seccr(pub u32);Expand description
Flash secure control register
Tuple Fields§
§0: u32Implementations§
§impl Seccr
impl Seccr
pub const fn set_secper(&mut self, val: bool)
pub const fn set_secper(&mut self, val: bool)
SECPER
pub const fn set_secmer1(&mut self, val: bool)
pub const fn set_secmer1(&mut self, val: bool)
SECMER1
pub const fn set_secpnb(&mut self, val: u8)
pub const fn set_secpnb(&mut self, val: u8)
SECPNB
pub const fn set_secbker(&mut self, val: bool)
pub const fn set_secbker(&mut self, val: bool)
SECBKER
pub const fn set_secmer2(&mut self, val: bool)
pub const fn set_secmer2(&mut self, val: bool)
SECMER2
pub const fn set_secstrt(&mut self, val: bool)
pub const fn set_secstrt(&mut self, val: bool)
SECSTRT
pub const fn set_seceopie(&mut self, val: bool)
pub const fn set_seceopie(&mut self, val: bool)
SECEOPIE
pub const fn set_secerrie(&mut self, val: bool)
pub const fn set_secerrie(&mut self, val: bool)
SECERRIE
pub const fn secrderrie(&self) -> bool
pub const fn secrderrie(&self) -> bool
SECRDERRIE
pub const fn set_secrderrie(&mut self, val: bool)
pub const fn set_secrderrie(&mut self, val: bool)
SECRDERRIE
pub const fn set_secinv(&mut self, val: bool)
pub const fn set_secinv(&mut self, val: bool)
SECINV
pub const fn set_seclock(&mut self, val: bool)
pub const fn set_seclock(&mut self, val: bool)
SECLOCK
Trait Implementations§
impl Copy for Seccr
impl Eq for Seccr
impl StructuralPartialEq for Seccr
Auto Trait Implementations§
impl Freeze for Seccr
impl RefUnwindSafe for Seccr
impl Send for Seccr
impl Sync for Seccr
impl Unpin for Seccr
impl UnwindSafe for Seccr
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