pub struct W(/* private fields */);
Expand description
Register OCOLR
writer
Implementations§
source§impl W
impl W
sourcepub fn blue(
&mut self
) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 0>
pub fn blue( &mut self ) -> FieldWriterRaw<'_, u32, OCOLR_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - Blue Value These bits define the blue value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
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 These bits define the green value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
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 These bits define the red value of the output image. These bits can only be written when data transfers are disabled. Once the transfer has started, they are read-only.
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