Struct stm32_metapac::spi::regs::Cfg1
#[repr(transparent)]pub struct Cfg1(pub u32);
Expand description
configuration register 1
Tuple Fieldsยง
ยง0: u32
Implementationsยง
ยงimpl Cfg1
impl Cfg1
pub fn set_udrcfg(&mut self, val: Udrcfg)
pub fn set_udrcfg(&mut self, val: Udrcfg)
Behavior of slave transmitter at underrun condition
pub fn set_rxdmaen(&mut self, val: bool)
pub fn set_rxdmaen(&mut self, val: bool)
Rx DMA stream enable
pub fn set_txdmaen(&mut self, val: bool)
pub fn set_txdmaen(&mut self, val: bool)
Tx DMA stream enable
pub fn set_crcsize(&mut self, val: u8)
pub fn set_crcsize(&mut self, val: u8)
Length of CRC frame to be transacted and compared
Trait Implementationsยง
impl Copy for Cfg1
impl Eq for Cfg1
impl StructuralEq for Cfg1
impl StructuralPartialEq for Cfg1
Auto Trait Implementationsยง
impl RefUnwindSafe for Cfg1
impl Send for Cfg1
impl Sync for Cfg1
impl Unpin for Cfg1
impl UnwindSafe for Cfg1
Blanket Implementationsยง
sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more