[][src]Struct gd32vf103_pac::adc1::sampt0::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 spt10(&mut self) -> _SPT10W[src]

Bits 0:2 - Channel 10 sample time selection

pub fn spt11(&mut self) -> _SPT11W[src]

Bits 3:5 - Channel 11 sample time selection

pub fn spt12(&mut self) -> _SPT12W[src]

Bits 6:8 - Channel 12 sample time selection

pub fn spt13(&mut self) -> _SPT13W[src]

Bits 9:11 - Channel 13 sample time selection

pub fn spt14(&mut self) -> _SPT14W[src]

Bits 12:14 - Channel 14 sample time selection

pub fn spt15(&mut self) -> _SPT15W[src]

Bits 15:17 - Channel 15 sample time selection

pub fn spt16(&mut self) -> _SPT16W[src]

Bits 18:20 - Channel 16 sample time selection

pub fn spt17(&mut self) -> _SPT17W[src]

Bits 21:23 - Channel 17 sample time selection

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]