[][src]Struct stm32f0xx_hal::pac::spi1::cr2::DS_W

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

Write proxy for field DS

Implementations

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

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

Writes variant to the field

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

4-bit

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

5-bit

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

6-bit

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

7-bit

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

8-bit

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

9-bit

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

10-bit

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

11-bit

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

12-bit

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

13-bit

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

14-bit

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

15-bit

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

16-bit

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

Writes raw bits to the field

Auto Trait Implementations

impl<'a> Send for DS_W<'a>

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

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