[][src]Struct nrf52832_hal::target::spim0::frequency::FREQUENCY_W

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

Write proxy for field FREQUENCY

Methods

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

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

Writes variant to the field

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

125 kbps

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

250 kbps

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

500 kbps

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

1 Mbps

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

2 Mbps

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

4 Mbps

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

8 Mbps

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for FREQUENCY_W<'a>

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

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