pub struct W(_);
Expand description
Register CR3
writer
Implementations
sourceimpl W
impl W
sourcepub fn wufie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, WUFIE_A, BitM, 22>
pub fn wufie(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, WUFIE_A, BitM, 22>
Bit 22 - Wakeup from Stop mode interrupt enable
sourcepub fn wus(
&mut self
) -> FieldWriterRaw<'_, u32, CR3_SPEC, u8, WUS_A, Unsafe, 2, 20>
pub fn wus(
&mut self
) -> FieldWriterRaw<'_, u32, CR3_SPEC, u8, WUS_A, Unsafe, 2, 20>
Bits 20:21 - Wakeup from Stop mode interrupt flag selection
sourcepub fn dep(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DEP_A, BitM, 15>
pub fn dep(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DEP_A, BitM, 15>
Bit 15 - Driver enable polarity selection
sourcepub fn dem(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DEM_A, BitM, 14>
pub fn dem(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DEM_A, BitM, 14>
Bit 14 - Driver enable mode
sourcepub fn ddre(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DDRE_A, BitM, 13>
pub fn ddre(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, DDRE_A, BitM, 13>
Bit 13 - DMA Disable on Reception Error
sourcepub fn ovrdis(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, OVRDIS_A, BitM, 12>
pub fn ovrdis(&mut self) -> BitWriterRaw<'_, u32, CR3_SPEC, OVRDIS_A, BitM, 12>
Bit 12 - Overrun Disable
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 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
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more