[−][src]Struct stm32h7::stm32h743::spi1::cfg2::W
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
Blanket Implementations
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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self