pub struct W(/* private fields */);
Expand description
Register OCOLR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn aplha(
&mut self,
) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 24>
pub fn aplha( &mut self, ) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - Alpha Channel Value
Sourcepub fn red(
&mut self,
) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 16>
pub fn red( &mut self, ) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - Red Value
Sourcepub fn green(
&mut self,
) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 8>
pub fn green( &mut self, ) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - Green Value
Methods from Deref<Target = W<OCOLR_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