[−][src]Struct alt_stm32f30x_hal::stm32::spi1::cr2::W
Value to write to the register
Methods
impl W
[src]
pub fn reset_value() -> W
[src]
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut W
[src]
Writes raw bits to the register
pub fn rxdmaen(&mut self) -> _RXDMAENW
[src]
Bit 0 - Rx buffer DMA enable
pub fn txdmaen(&mut self) -> _TXDMAENW
[src]
Bit 1 - Tx buffer DMA enable
pub fn ssoe(&mut self) -> _SSOEW
[src]
Bit 2 - SS output enable
pub fn nssp(&mut self) -> _NSSPW
[src]
Bit 3 - NSS pulse management
pub fn frf(&mut self) -> _FRFW
[src]
Bit 4 - Frame format
pub fn errie(&mut self) -> _ERRIEW
[src]
Bit 5 - Error interrupt enable
pub fn rxneie(&mut self) -> _RXNEIEW
[src]
Bit 6 - RX buffer not empty interrupt enable
pub fn txeie(&mut self) -> _TXEIEW
[src]
Bit 7 - Tx buffer empty interrupt enable
pub fn ds(&mut self) -> _DSW
[src]
Bits 8:11 - Data size
pub fn frxth(&mut self) -> _FRXTHW
[src]
Bit 12 - FIFO reception threshold
pub fn ldma_rx(&mut self) -> _LDMA_RXW
[src]
Bit 13 - Last DMA transfer for reception
pub fn ldma_tx(&mut self) -> _LDMA_TXW
[src]
Bit 14 - Last DMA transfer for transmission
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