Struct gd32f1x0_hal::pac::timer0::chctl0_input::W[][src]

pub struct W(_);
Expand description

Register CHCTL0_Input writer

Implementations

impl W[src]

pub fn ch1capflt(&mut self) -> CH1CAPFLT_W<'_>[src]

Bits 12:15 - Channel 1 input capture filter control

pub fn ch1cappsc(&mut self) -> CH1CAPPSC_W<'_>[src]

Bits 10:11 - Channel 1 input capture prescaler

pub fn ch1ms(&mut self) -> CH1MS_W<'_>[src]

Bits 8:9 - Channel 1 mode selection

pub fn ch0capflt(&mut self) -> CH0CAPFLT_W<'_>[src]

Bits 4:7 - Channel 0 input capture filter control

pub fn ch0cappsc(&mut self) -> CH0CAPPSC_W<'_>[src]

Bits 2:3 - Channel 0 input capture prescaler

pub fn ch0ms(&mut self) -> CH0MS_W<'_>[src]

Bits 0:1 - Channel 0 mode selection

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

Writes raw bits to the register.

Methods from Deref<Target = W<CHCTL0_INPUT_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<CHCTL0_INPUT_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<CHCTL0_INPUT_SPEC>> for W[src]

pub fn from(writer: W<CHCTL0_INPUT_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.