Struct Cr
#[repr(transparent)]pub struct Cr(pub u32);Expand description
DBGMCU configuration register
Tuple Fields§
§0: u32Implementations§
§impl Cr
impl Cr
pub const fn set_dbg_sleep(&mut self, val: bool)
pub const fn set_dbg_sleep(&mut self, val: bool)
Debug in Sleep mode enable
pub const fn set_dbg_stop(&mut self, val: bool)
pub const fn set_dbg_stop(&mut self, val: bool)
Debug in Stop mode enable
pub const fn dbg_standby(&self) -> bool
pub const fn dbg_standby(&self) -> bool
Debug in Standby mode enable
pub const fn set_dbg_standby(&mut self, val: bool)
pub const fn set_dbg_standby(&mut self, val: bool)
Debug in Standby mode enable
pub const fn dcrt(&self) -> Dcrt
pub const fn dcrt(&self) -> Dcrt
Debug credentials reset type. Selects which type of reset is used to revoke the debug authentication credentials
pub const fn set_dcrt(&mut self, val: Dcrt)
pub const fn set_dcrt(&mut self, val: Dcrt)
Debug credentials reset type. Selects which type of reset is used to revoke the debug authentication credentials
pub const fn traceclken(&self) -> bool
pub const fn traceclken(&self) -> bool
Trace port clock enable
pub const fn set_traceclken(&mut self, val: bool)
pub const fn set_traceclken(&mut self, val: bool)
Trace port clock enable
pub const fn dbgcken(&self) -> bool
pub const fn dbgcken(&self) -> bool
Debug clock enable. Allows the clocks of the debug components (excluding those in the processor core) to be switched off
pub const fn set_dbgcken(&mut self, val: bool)
pub const fn set_dbgcken(&mut self, val: bool)
Debug clock enable. Allows the clocks of the debug components (excluding those in the processor core) to be switched off
pub const fn trgoen(&self) -> bool
pub const fn trgoen(&self) -> bool
External trigger output enable: direction of the TRGIO pin. 0: input (TRGIN). 1: output (TRGOUT)
pub const fn set_trgoen(&mut self, val: bool)
pub const fn set_trgoen(&mut self, val: bool)
External trigger output enable: direction of the TRGIO pin. 0: input (TRGIN). 1: output (TRGOUT)