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 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 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§
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