Struct stm32wlxx_hal::pac::dbgmcu::cr::W
pub struct W(/* private fields */);
Available on crate feature
stm32wl5x_cm4
only.Expand description
Register CR
writer
Implementations§
§impl W
impl W
pub fn dbg_sleep(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_SLEEP_A, BitM, 0>
pub fn dbg_sleep( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_SLEEP_A, BitM, 0>
Bit 0 - Allow debug in SLEEP mode
pub fn dbg_stop(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_STOP_A, BitM, 1>
pub fn dbg_stop( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_STOP_A, BitM, 1>
Bit 1 - Allow debug in STOP mode
pub fn dbg_standby(
&mut self
) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_STANDBY_A, BitM, 2>
pub fn dbg_standby( &mut self ) -> BitWriterRaw<'_, u32, CR_SPEC, DBG_STANDBY_A, BitM, 2>
Bit 2 - Allow debug in STANDBY mode
Methods from Deref<Target = W<CR_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
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