pub struct W(/* private fields */);
Expand description
Register GCR
writer
Implementations§
source§impl W
impl W
sourcepub fn hspol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, HSPOL_A, BitM, 31>
pub fn hspol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, HSPOL_A, BitM, 31>
Bit 31 - Horizontal Synchronization Polarity
sourcepub fn vspol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, VSPOL_A, BitM, 30>
pub fn vspol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, VSPOL_A, BitM, 30>
Bit 30 - Vertical Synchronization Polarity
sourcepub fn depol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, DEPOL_A, BitM, 29>
pub fn depol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, DEPOL_A, BitM, 29>
Bit 29 - Data Enable Polarity
sourcepub fn pcpol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, PCPOL_A, BitM, 28>
pub fn pcpol(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, PCPOL_A, BitM, 28>
Bit 28 - Pixel Clock Polarity
sourcepub fn den(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, DEN_A, BitM, 16>
pub fn den(&mut self) -> BitWriterRaw<'_, u32, GCR_SPEC, DEN_A, BitM, 16>
Bit 16 - Dither Enable
Methods from Deref<Target = W<GCR_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