Struct gd32f1::gd32f190::adc::sampt0::W[][src]

pub struct W(_);

Register SAMPT0 writer

Implementations

impl W[src]

pub fn spt10(&mut self) -> SPT10_W<'_>[src]

Bits 0:2 - Channel 10 sample time selection

pub fn spt11(&mut self) -> SPT11_W<'_>[src]

Bits 3:5 - Channel 11 sample time selection

pub fn spt12(&mut self) -> SPT12_W<'_>[src]

Bits 6:8 - Channel 12 sample time selection

pub fn spt13(&mut self) -> SPT13_W<'_>[src]

Bits 9:11 - Channel 13 sample time selection

pub fn spt14(&mut self) -> SPT14_W<'_>[src]

Bits 12:14 - Channel 14 sample time selection

pub fn spt15(&mut self) -> SPT15_W<'_>[src]

Bits 15:17 - Channel 15 sample time selection

pub fn spt16(&mut self) -> SPT16_W<'_>[src]

Bits 18:20 - Channel 16 sample time selection

pub fn spt17(&mut self) -> SPT17_W<'_>[src]

Bits 21:23 - Channel 17 sample time selection

pub fn spt18(&mut self) -> SPT18_W<'_>[src]

Bits 24:26 - Channel 18 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<SAMPT0_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<SAMPT0_SPEC>

The resulting type after dereferencing.

impl DerefMut for W[src]

impl From<W<SAMPT0_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.