pub struct W(_);
Expand description
Register CR3
writer
Implementations§
source§impl W
impl W
sourcepub fn eie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EIE_A, BitM, 0>
pub fn eie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, EIE_A, BitM, 0>
Bit 0 - Error interrupt enable
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
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 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 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
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.