pub struct W(/* private fields */);
Expand description
Register CR1
writer
Implementations§
source§impl W
impl W
sourcepub fn tcrcini(
&mut self
) -> BitWriterRaw<'_, u32, CR1_SPEC, TCRCINI_A, BitM, 15>
pub fn tcrcini( &mut self ) -> BitWriterRaw<'_, u32, CR1_SPEC, TCRCINI_A, BitM, 15>
Bit 15 - CRC calculation initialization pattern control for transmitter
sourcepub fn rcrcini(
&mut self
) -> BitWriterRaw<'_, u32, CR1_SPEC, RCRCINI_A, BitM, 14>
pub fn rcrcini( &mut self ) -> BitWriterRaw<'_, u32, CR1_SPEC, RCRCINI_A, BitM, 14>
Bit 14 - CRC calculation initialization pattern control for receiver
sourcepub fn crc33_17(
&mut self
) -> BitWriterRaw<'_, u32, CR1_SPEC, CRC33_17_A, BitM, 13>
pub fn crc33_17( &mut self ) -> BitWriterRaw<'_, u32, CR1_SPEC, CRC33_17_A, BitM, 13>
Bit 13 - 32-bit CRC polynomial configuration
sourcepub fn ssi(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, SSI_A, BitM, 12>
pub fn ssi(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, SSI_A, BitM, 12>
Bit 12 - Internal SS signal input level
sourcepub fn hddir(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, HDDIR_A, BitM, 11>
pub fn hddir(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, HDDIR_A, BitM, 11>
Bit 11 - Rx/Tx direction at Half-duplex mode
sourcepub fn csusp(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CSUSP_AW, BitM, 10>
pub fn csusp(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CSUSP_AW, BitM, 10>
Bit 10 - Master SUSPend request
sourcepub fn cstart(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CSTART_A, BitM, 9>
pub fn cstart(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, CSTART_A, BitM, 9>
Bit 9 - Master transfer start
sourcepub fn masrx(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, MASRX_A, BitM, 8>
pub fn masrx(&mut self) -> BitWriterRaw<'_, u32, CR1_SPEC, MASRX_A, BitM, 8>
Bit 8 - Master automatic SUSP in Receive mode
Methods from Deref<Target = W<CR1_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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