Struct Sr
#[repr(transparent)]pub struct Sr(pub u32);
Expand description
DBGMCU status register.
Tuple Fields§
§0: u32
Implementations§
§impl Sr
impl Sr
pub const fn ap1_present(&self) -> bool
pub const fn ap1_present(&self) -> bool
Identifies whether access port AP1 is present in device.
pub fn set_ap1_present(&mut self, val: bool)
pub fn set_ap1_present(&mut self, val: bool)
Identifies whether access port AP1 is present in device.
pub const fn ap0_present(&self) -> bool
pub const fn ap0_present(&self) -> bool
Identifies whether access port AP0 is present in device.
pub fn set_ap0_present(&mut self, val: bool)
pub fn set_ap0_present(&mut self, val: bool)
Identifies whether access port AP0 is present in device.
pub const fn ap1_enabled(&self) -> bool
pub const fn ap1_enabled(&self) -> bool
Identifies whether access port AP0 is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).
pub fn set_ap1_enabled(&mut self, val: bool)
pub fn set_ap1_enabled(&mut self, val: bool)
Identifies whether access port AP0 is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).
pub const fn ap0_enabled(&self) -> bool
pub const fn ap0_enabled(&self) -> bool
Identifies whether access port AP0 is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).
pub fn set_ap0_enabled(&mut self, val: bool)
pub fn set_ap0_enabled(&mut self, val: bool)
Identifies whether access port AP0 is open (can be accessed via the debug port) or locked (debug access to the AP is blocked).