[][src]Struct nrf52840_hal::pac::qdec::sampleper::SAMPLEPER_W

pub struct SAMPLEPER_W<'a> { /* fields omitted */ }

Write proxy for field SAMPLEPER

Implementations

impl<'a> SAMPLEPER_W<'a>[src]

pub fn variant(
    self,
    variant: SAMPLEPER_A
) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>
[src]

Writes variant to the field

pub fn _128us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

128 us

pub fn _256us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

256 us

pub fn _512us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

512 us

pub fn _1024us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

1024 us

pub fn _2048us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

2048 us

pub fn _4096us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

4096 us

pub fn _8192us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

8192 us

pub fn _16384us(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

16384 us

pub fn _32ms(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

32768 us

pub fn _65ms(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

65536 us

pub fn _131ms(self) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

131072 us

pub unsafe fn bits(self, value: u8) -> &'a mut W<u32, Reg<u32, _SAMPLEPER>>[src]

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for SAMPLEPER_W<'a>

impl<'a> !Sync for SAMPLEPER_W<'a>

impl<'a> Unpin for SAMPLEPER_W<'a>

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> Same<T> for T

type Output = T

Should always be Self

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.