Struct gd32f1x0_hal::pac::timer1::dmainten::W[][src]

pub struct W(_);
Expand description

Register DMAINTEN writer

Implementations

impl W[src]

pub fn trgden(&mut self) -> TRGDEN_W<'_>[src]

Bit 14 - Trigger DMA request enable

pub fn ch3den(&mut self) -> CH3DEN_W<'_>[src]

Bit 12 - Channel 3 Capture/Compare DMA request enable

pub fn ch2den(&mut self) -> CH2DEN_W<'_>[src]

Bit 11 - Channel 2 Capture/Compare DMA request enable

pub fn ch1den(&mut self) -> CH1DEN_W<'_>[src]

Bit 10 - Channel 1 Capture/Compare DMA request enable

pub fn ch0den(&mut self) -> CH0DEN_W<'_>[src]

Bit 9 - Channel 0 Capture/Compare DMA request enable

pub fn upden(&mut self) -> UPDEN_W<'_>[src]

Bit 8 - Update DMA request enable

pub fn trgie(&mut self) -> TRGIE_W<'_>[src]

Bit 6 - Trigger interrupt enable

pub fn ch3ie(&mut self) -> CH3IE_W<'_>[src]

Bit 4 - Channel 3 Capture/Compare interrupt enable

pub fn ch2ie(&mut self) -> CH2IE_W<'_>[src]

Bit 3 - Channel 2 Capture/Compare interrupt enable

pub fn ch1ie(&mut self) -> CH1IE_W<'_>[src]

Bit 2 - Channel 1 Capture/Compare interrupt enable

pub fn ch0ie(&mut self) -> CH0IE_W<'_>[src]

Bit 1 - Channel 0 Capture/Compare interrupt enable

pub fn upie(&mut self) -> UPIE_W<'_>[src]

Bit 0 - Update Capture/Compare interrupt enable

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

Writes raw bits to the register.

Methods from Deref<Target = W<DMAINTEN_SPEC>>

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>[src]

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<DMAINTEN_SPEC>

The resulting type after dereferencing.

pub fn deref(&self) -> &<W as Deref>::Target[src]

Dereferences the value.

impl DerefMut for W[src]

pub fn deref_mut(&mut self) -> &mut <W as Deref>::Target[src]

Mutably dereferences the value.

impl From<W<DMAINTEN_SPEC>> for W[src]

pub fn from(writer: W<DMAINTEN_SPEC>) -> W[src]

Performs the conversion.

Auto Trait Implementations

impl Send for W

impl Sync for W

impl Unpin for W

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.