pub struct W(/* private fields */);
Expand description
Register CR3
writer
Implementations§
source§impl W
impl W
sourcepub fn onebit(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, ONEBIT_A, BitM, 11>
pub fn onebit(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, ONEBIT_A, BitM, 11>
Bit 11 - One sample bit method enable
sourcepub fn ctsie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, CTSIE_A, BitM, 10>
pub fn ctsie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, CTSIE_A, BitM, 10>
Bit 10 - CTS interrupt enable
sourcepub fn dmat(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DMAT_A, BitM, 7>
pub fn dmat(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DMAT_A, BitM, 7>
Bit 7 - DMA enable transmitter
sourcepub fn dmar(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DMAR_A, BitM, 6>
pub fn dmar(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DMAR_A, BitM, 6>
Bit 6 - DMA enable receiver
sourcepub fn scen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, SCEN_A, BitM, 5>
pub fn scen(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, SCEN_A, BitM, 5>
Bit 5 - Smartcard mode enable
sourcepub fn nack(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, NACK_A, BitM, 4>
pub fn nack(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, NACK_A, BitM, 4>
Bit 4 - Smartcard NACK enable
sourcepub fn hdsel(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, HDSEL_A, BitM, 3>
pub fn hdsel(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, HDSEL_A, BitM, 3>
Bit 3 - Half-duplex selection
sourcepub fn irlp(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, IRLP_A, BitM, 2>
pub fn irlp(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, IRLP_A, BitM, 2>
Bit 2 - IrDA low-power
sourcepub fn iren(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, IREN_A, BitM, 1>
pub fn iren(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, IREN_A, BitM, 1>
Bit 1 - IrDA mode enable
Methods from Deref<Target = W<CR3_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§
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