[][src]Struct nrf52832_hal::pac::pwm0::prescaler::PRESCALER_W

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

Write proxy for field PRESCALER

Implementations

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

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

Writes variant to the field

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

Divide by 1 (16MHz)

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

Divide by 2 ( 8MHz)

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

Divide by 4 ( 4MHz)

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

Divide by 8 ( 2MHz)

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

Divide by 16 ( 1MHz)

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

Divide by 32 ( 500kHz)

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

Divide by 64 ( 250kHz)

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

Divide by 128 ( 125kHz)

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for PRESCALER_W<'a>

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

impl<'a> Unpin for PRESCALER_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.