Struct DbgmcuSr
#[repr(transparent)]pub struct DbgmcuSr(pub u32);Expand description
DBGMCU status register.
Tuple Fields§
§0: u32Implementations§
§impl DbgmcuSr
impl DbgmcuSr
pub const fn ap_present(&self) -> u16
pub const fn ap_present(&self) -> u16
Bit n=0: APn absent Bit n=1: APn present.
pub fn set_ap_present(&mut self, val: u16)
pub fn set_ap_present(&mut self, val: u16)
Bit n=0: APn absent Bit n=1: APn present.
pub const fn ap_enabled(&self) -> u16
pub const fn ap_enabled(&self) -> u16
Bit n=0: APn locked Bit n=1: APn enabled.
pub fn set_ap_enabled(&mut self, val: u16)
pub fn set_ap_enabled(&mut self, val: u16)
Bit n=0: APn locked Bit n=1: APn enabled.
Trait Implementations§
impl Copy for DbgmcuSr
impl Eq for DbgmcuSr
impl StructuralPartialEq for DbgmcuSr
Auto Trait Implementations§
impl Freeze for DbgmcuSr
impl RefUnwindSafe for DbgmcuSr
impl Send for DbgmcuSr
impl Sync for DbgmcuSr
impl Unpin for DbgmcuSr
impl UnwindSafe for DbgmcuSr
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