[−][src]Struct nrf52832_hal::pac::spi0::frequency::FREQUENCY_W
Write proxy for field FREQUENCY
Implementations
impl<'a> FREQUENCY_W<'a>
[src]
pub fn variant(
self,
variant: FREQUENCY_A
) -> &'a mut W<u32, Reg<u32, _FREQUENCY>>
[src]
self,
variant: FREQUENCY_A
) -> &'a mut W<u32, Reg<u32, _FREQUENCY>>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,