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 dbg_sleep(&self) -> bool
pub const fn dbg_sleep(&self) -> bool
Allow debug of the CPU1 in Sleep mode, no influence on CPU2 operation
pub const fn set_dbg_sleep(&mut self, val: bool)
pub const fn set_dbg_sleep(&mut self, val: bool)
Allow debug of the CPU1 in Sleep mode, no influence on CPU2 operation
pub const fn dbg_stop(&self) -> bool
pub const fn dbg_stop(&self) -> bool
Allow debug of the CPU1 in Stop mode, no influence on CPU2 operation
pub const fn set_dbg_stop(&mut self, val: bool)
pub const fn set_dbg_stop(&mut self, val: bool)
Allow debug of the CPU1 in Stop mode, no influence on CPU2 operation
pub const fn dbg_standby(&self) -> bool
pub const fn dbg_standby(&self) -> bool
Allow debug of the CPU1 in Standby and Shutdown modes, no influence on CPU2 operation
pub const fn set_dbg_standby(&mut self, val: bool)
pub const fn set_dbg_standby(&mut self, val: bool)
Allow debug of the CPU1 in Standby and Shutdown modes, no influence on CPU2 operation
pub const fn trace_ioen(&self) -> bool
pub const fn trace_ioen(&self) -> bool
Trace port and clock enable (only on STM32WB)
pub const fn set_trace_ioen(&mut self, val: bool)
pub const fn set_trace_ioen(&mut self, val: bool)
Trace port and clock enable (only on STM32WB)
pub const fn trgoen(&self) -> bool
pub const fn trgoen(&self) -> bool
External trigger output enable: direction of the TRIG_INOUT pin. 0: input (TRGIN). 1: output (TRGOUT). Only on STM32WB.
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 TRIG_INOUT pin. 0: input (TRGIN). 1: output (TRGOUT). Only on STM32WB.