pub struct W(/* private fields */);
Expand description
Register CLUTWR
writer
Implementations§
source§impl W
impl W
sourcepub fn clutadd(
&mut self
) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 24>
pub fn clutadd( &mut self ) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 24>
Bits 24:31 - CLUT Address
sourcepub fn red(
&mut self
) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 16>
pub fn red( &mut self ) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 16>
Bits 16:23 - Red value
sourcepub fn green(
&mut self
) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 8>
pub fn green( &mut self ) -> FieldWriterRaw<'_, u32, CLUTWR_SPEC, u8, u8, Safe, 8, 8>
Bits 8:15 - Green value
Methods from Deref<Target = W<CLUTWR_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