pub struct W(/* private fields */);
Expand description
Register DCCR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn dcalpha(
&mut self,
) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 24>
pub fn dcalpha( &mut self, ) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 24>
Bits 24:31 - Default Color Alpha
Sourcepub fn dcred(
&mut self,
) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 16>
pub fn dcred( &mut self, ) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 16>
Bits 16:23 - Default Color Red
Sourcepub fn dcgreen(
&mut self,
) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 8>
pub fn dcgreen( &mut self, ) -> FieldWriterRaw<'_, u32, DCCR_SPEC, u8, u8, Safe, 8, 8>
Bits 8:15 - Default Color Green
Methods from Deref<Target = W<DCCR_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