[][src]Struct stm32h7::stm32h743::spi1::cfg2::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn afcntr(&mut self) -> _AFCNTRW[src]

Bit 31 - Alternate function GPIOs control

pub fn ssom(&mut self) -> _SSOMW[src]

Bit 30 - SS output management in master mode

pub fn ssoe(&mut self) -> _SSOEW[src]

Bit 29 - SS output enable

pub fn ssiop(&mut self) -> _SSIOPW[src]

Bit 28 - SS input/output polarity

pub fn ssm(&mut self) -> _SSMW[src]

Bit 26 - Software management of SS signal input

pub fn cpol(&mut self) -> _CPOLW[src]

Bit 25 - Clock polarity

pub fn cpha(&mut self) -> _CPHAW[src]

Bit 24 - Clock phase

pub fn lsbfrst(&mut self) -> _LSBFRSTW[src]

Bit 23 - Data frame format

pub fn master(&mut self) -> _MASTERW[src]

Bit 22 - SPI Master

pub fn sp(&mut self) -> _SPW[src]

Bits 19:21 - Serial Protocol

pub fn comm(&mut self) -> _COMMW[src]

Bits 17:18 - SPI Communication Mode

pub fn ioswp(&mut self) -> _IOSWPW[src]

Bit 15 - Swap functionality of MISO and MOSI pins

pub fn midi(&mut self) -> _MIDIW[src]

Bits 4:7 - Master Inter-Data Idleness

pub fn mssi(&mut self) -> _MSSIW[src]

Bits 0:3 - Master SS Idleness

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self