Struct stm32f30x_memory_map::spi::Cr1W
[−]
[src]
pub struct Cr1W { /* fields omitted */ }
Methods
impl Cr1W
[src]
fn reset_value() -> Self
Reset value
fn bidimode(&mut self, value: bool) -> &mut Self
Bit 15 - Bidirectional data mode enable
fn bidioe(&mut self, value: bool) -> &mut Self
Bit 14 - Output enable in bidirectional mode
fn crcen(&mut self, value: bool) -> &mut Self
Bit 13 - Hardware CRC calculation enable
fn crcnext(&mut self, value: bool) -> &mut Self
Bit 12 - CRC transfer next
fn dff(&mut self, value: bool) -> &mut Self
Bit 11 - Data frame format
fn rxonly(&mut self, value: bool) -> &mut Self
Bit 10 - Receive only
fn ssm(&mut self, value: bool) -> &mut Self
Bit 9 - Software slave management
fn ssi(&mut self, value: bool) -> &mut Self
Bit 8 - Internal slave select
fn lsbfirst(&mut self, value: bool) -> &mut Self
Bit 7 - Frame format
fn spe(&mut self, value: bool) -> &mut Self
Bit 6 - SPI enable
fn br(&mut self, value: u8) -> &mut Self
Bits 3:5 - Baud rate control
fn mstr(&mut self, value: bool) -> &mut Self
Bit 2 - Master selection
fn cpol(&mut self, value: bool) -> &mut Self
Bit 1 - Clock polarity
fn cpha(&mut self, value: bool) -> &mut Self
Bit 0 - Clock phase
Trait Implementations
impl Clone for Cr1W
[src]
fn clone(&self) -> Cr1W
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