Struct stm32f30x_memory_map::spi::Cr2W
[−]
[src]
pub struct Cr2W { /* fields omitted */ }
Methods
impl Cr2W
[src]
fn reset_value() -> Self
Reset value
fn rxdmaen(&mut self, value: bool) -> &mut Self
Bit 0 - Rx buffer DMA enable
fn txdmaen(&mut self, value: bool) -> &mut Self
Bit 1 - Tx buffer DMA enable
fn ssoe(&mut self, value: bool) -> &mut Self
Bit 2 - SS output enable
fn nssp(&mut self, value: bool) -> &mut Self
Bit 3 - NSS pulse management
fn frf(&mut self, value: bool) -> &mut Self
Bit 4 - Frame format
fn errie(&mut self, value: bool) -> &mut Self
Bit 5 - Error interrupt enable
fn rxneie(&mut self, value: bool) -> &mut Self
Bit 6 - RX buffer not empty interrupt enable
fn txeie(&mut self, value: bool) -> &mut Self
Bit 7 - Tx buffer empty interrupt enable
fn ds(&mut self, value: u8) -> &mut Self
Bits 8:11 - Data size
fn frxth(&mut self, value: bool) -> &mut Self
Bit 12 - FIFO reception threshold
fn ldma_rx(&mut self, value: bool) -> &mut Self
Bit 13 - Last DMA transfer for reception
fn ldma_tx(&mut self, value: bool) -> &mut Self
Bit 14 - Last DMA transfer for transmission
Trait Implementations
impl Clone for Cr2W
[src]
fn clone(&self) -> Cr2W
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more