[][src]Struct gd32vf103_pac::dbg::ctl::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn slp_hold(&mut self) -> _SLP_HOLDW[src]

Bit 0 - Sleep mode hold register

pub fn dslp_hold(&mut self) -> _DSLP_HOLDW[src]

Bit 1 - Deep-sleep mode hold register

pub fn stb_hold(&mut self) -> _STB_HOLDW[src]

Bit 2 - Standby mode hold register

pub fn fwdgt_hold(&mut self) -> _FWDGT_HOLDW[src]

Bit 8 - FWDGT hold bit

pub fn wwdgt_hold(&mut self) -> _WWDGT_HOLDW[src]

Bit 9 - WWDGT hold bit

pub fn timer0_hold(&mut self) -> _TIMER0_HOLDW[src]

Bit 10 - TIMER 0 hold bit

pub fn timer1_hold(&mut self) -> _TIMER1_HOLDW[src]

Bit 11 - TIMER 1 hold bit

pub fn timer2_hold(&mut self) -> _TIMER2_HOLDW[src]

Bit 12 - TIMER 2 hold bit

pub fn timer3_hold(&mut self) -> _TIMER3_HOLDW[src]

Bit 13 - TIMER 23 hold bit

pub fn can0_hold(&mut self) -> _CAN0_HOLDW[src]

Bit 14 - CAN0 hold bit

pub fn i2c0_hold(&mut self) -> _I2C0_HOLDW[src]

Bit 15 - I2C0 hold bit

pub fn i2c1_hold(&mut self) -> _I2C1_HOLDW[src]

Bit 16 - I2C1 hold bit

pub fn timer4_hold(&mut self) -> _TIMER4_HOLDW[src]

Bit 18 - TIMER4_HOLD

pub fn timer5_hold(&mut self) -> _TIMER5_HOLDW[src]

Bit 19 - TIMER 5 hold bit

pub fn timer6_hold(&mut self) -> _TIMER6_HOLDW[src]

Bit 20 - TIMER 6 hold bit

pub fn can1_hold(&mut self) -> _CAN1_HOLDW[src]

Bit 21 - CAN1 hold bit

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]