[−][src]Struct stm32l4x6::spi1::cr2::W
Value to write to the register
Methods
impl W
[src]
impl W
pub fn reset_value() -> W
[src]
pub fn reset_value() -> W
Reset value of the register
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self
Writes raw bits to the register
pub fn rxdmaen(&mut self) -> _RXDMAENW
[src]
pub fn rxdmaen(&mut self) -> _RXDMAENW
Bit 0 - Rx buffer DMA enable
pub fn txdmaen(&mut self) -> _TXDMAENW
[src]
pub fn txdmaen(&mut self) -> _TXDMAENW
Bit 1 - Tx buffer DMA enable
pub fn ssoe(&mut self) -> _SSOEW
[src]
pub fn ssoe(&mut self) -> _SSOEW
Bit 2 - SS output enable
pub fn nssp(&mut self) -> _NSSPW
[src]
pub fn nssp(&mut self) -> _NSSPW
Bit 3 - NSS pulse management
pub fn frf(&mut self) -> _FRFW
[src]
pub fn frf(&mut self) -> _FRFW
Bit 4 - Frame format
pub fn errie(&mut self) -> _ERRIEW
[src]
pub fn errie(&mut self) -> _ERRIEW
Bit 5 - Error interrupt enable
pub fn rxneie(&mut self) -> _RXNEIEW
[src]
pub fn rxneie(&mut self) -> _RXNEIEW
Bit 6 - RX buffer not empty interrupt enable
pub fn txeie(&mut self) -> _TXEIEW
[src]
pub fn txeie(&mut self) -> _TXEIEW
Bit 7 - Tx buffer empty interrupt enable
pub fn ds(&mut self) -> _DSW
[src]
pub fn ds(&mut self) -> _DSW
Bits 8:11 - Data size
pub fn frxth(&mut self) -> _FRXTHW
[src]
pub fn frxth(&mut self) -> _FRXTHW
Bit 12 - FIFO reception threshold
pub fn ldma_rx(&mut self) -> _LDMA_RXW
[src]
pub fn ldma_rx(&mut self) -> _LDMA_RXW
Bit 13 - Last DMA transfer for reception
pub fn ldma_tx(&mut self) -> _LDMA_TXW
[src]
pub fn ldma_tx(&mut self) -> _LDMA_TXW
Bit 14 - Last DMA transfer for transmission
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Gets the TypeId
of self
. Read more