Struct gd32vf103_pac::dbg::ctl::W
source · pub struct W(_);
Expand description
Register CTL
writer
Implementations§
source§impl W
impl W
sourcepub fn slp_hold(&mut self) -> SLP_HOLD_W<'_, 0>
pub fn slp_hold(&mut self) -> SLP_HOLD_W<'_, 0>
Bit 0 - Sleep mode hold register
sourcepub fn dslp_hold(&mut self) -> DSLP_HOLD_W<'_, 1>
pub fn dslp_hold(&mut self) -> DSLP_HOLD_W<'_, 1>
Bit 1 - Deep-sleep mode hold register
sourcepub fn stb_hold(&mut self) -> STB_HOLD_W<'_, 2>
pub fn stb_hold(&mut self) -> STB_HOLD_W<'_, 2>
Bit 2 - Standby mode hold register
sourcepub fn fwdgt_hold(&mut self) -> FWDGT_HOLD_W<'_, 8>
pub fn fwdgt_hold(&mut self) -> FWDGT_HOLD_W<'_, 8>
Bit 8 - FWDGT hold bit
sourcepub fn wwdgt_hold(&mut self) -> WWDGT_HOLD_W<'_, 9>
pub fn wwdgt_hold(&mut self) -> WWDGT_HOLD_W<'_, 9>
Bit 9 - WWDGT hold bit
sourcepub fn timer0_hold(&mut self) -> TIMER0_HOLD_W<'_, 10>
pub fn timer0_hold(&mut self) -> TIMER0_HOLD_W<'_, 10>
Bit 10 - TIMER 0 hold bit
sourcepub fn timer1_hold(&mut self) -> TIMER1_HOLD_W<'_, 11>
pub fn timer1_hold(&mut self) -> TIMER1_HOLD_W<'_, 11>
Bit 11 - TIMER 1 hold bit
sourcepub fn timer2_hold(&mut self) -> TIMER2_HOLD_W<'_, 12>
pub fn timer2_hold(&mut self) -> TIMER2_HOLD_W<'_, 12>
Bit 12 - TIMER 2 hold bit
sourcepub fn timer3_hold(&mut self) -> TIMER3_HOLD_W<'_, 13>
pub fn timer3_hold(&mut self) -> TIMER3_HOLD_W<'_, 13>
Bit 13 - TIMER 23 hold bit
sourcepub fn can0_hold(&mut self) -> CAN0_HOLD_W<'_, 14>
pub fn can0_hold(&mut self) -> CAN0_HOLD_W<'_, 14>
Bit 14 - CAN0 hold bit
sourcepub fn i2c0_hold(&mut self) -> I2C0_HOLD_W<'_, 15>
pub fn i2c0_hold(&mut self) -> I2C0_HOLD_W<'_, 15>
Bit 15 - I2C0 hold bit
sourcepub fn i2c1_hold(&mut self) -> I2C1_HOLD_W<'_, 16>
pub fn i2c1_hold(&mut self) -> I2C1_HOLD_W<'_, 16>
Bit 16 - I2C1 hold bit
sourcepub fn timer4_hold(&mut self) -> TIMER4_HOLD_W<'_, 18>
pub fn timer4_hold(&mut self) -> TIMER4_HOLD_W<'_, 18>
Bit 18 - TIMER4_HOLD
sourcepub fn timer5_hold(&mut self) -> TIMER5_HOLD_W<'_, 19>
pub fn timer5_hold(&mut self) -> TIMER5_HOLD_W<'_, 19>
Bit 19 - TIMER 5 hold bit
sourcepub fn timer6_hold(&mut self) -> TIMER6_HOLD_W<'_, 20>
pub fn timer6_hold(&mut self) -> TIMER6_HOLD_W<'_, 20>
Bit 20 - TIMER 6 hold bit
sourcepub fn can1_hold(&mut self) -> CAN1_HOLD_W<'_, 21>
pub fn can1_hold(&mut self) -> CAN1_HOLD_W<'_, 21>
Bit 21 - CAN1 hold bit
Methods from Deref<Target = W<CTL_SPEC>>§
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