Struct gd32f1::gd32f130::adc::sampt1::W[][src]

pub struct W(_);

Register SAMPT1 writer

Implementations

impl W[src]

pub fn spt0(&mut self) -> SPT0_W<'_>[src]

Bits 0:2 - Channel 0 sample time selection

pub fn spt1(&mut self) -> SPT1_W<'_>[src]

Bits 3:5 - Channel 1 sample time selection

pub fn spt2(&mut self) -> SPT2_W<'_>[src]

Bits 6:8 - Channel 2 sample time selection

pub fn spt3(&mut self) -> SPT3_W<'_>[src]

Bits 9:11 - Channel 3 sample time selection

pub fn spt4(&mut self) -> SPT4_W<'_>[src]

Bits 12:14 - Channel 4 sample time selection

pub fn spt5(&mut self) -> SPT5_W<'_>[src]

Bits 15:17 - Channel 5 sample time selection

pub fn spt6(&mut self) -> SPT6_W<'_>[src]

Bits 18:20 - Channel 6 sample time selection

pub fn spt7(&mut self) -> SPT7_W<'_>[src]

Bits 21:23 - Channel 7 sample time selection

pub fn spt8(&mut self) -> SPT8_W<'_>[src]

Bits 24:26 - Channel 8 sample time selection

pub fn spt9(&mut self) -> SPT9_W<'_>[src]

Bits 27:29 - Channel 9 sample time selection

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

Writes raw bits to the register.

Methods from Deref<Target = W<SAMPT1_SPEC>>

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

Writes raw bits to the register.

Trait Implementations

impl Deref for W[src]

type Target = W<SAMPT1_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

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

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]

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

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

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

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

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> 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.