pub struct W(/* private fields */);
Expand description
Register BGPFCCR
writer
Implementations§
source§impl W
impl W
sourcepub fn alpha(
&mut self
) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 8, 24>
pub fn alpha( &mut self ) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 8, 24>
Bits 24:31 - Alpha value
sourcepub fn am(
&mut self
) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 2, 16>
pub fn am( &mut self ) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - Alpha mode
sourcepub fn cs(
&mut self
) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 8, 8>
pub fn cs( &mut self ) -> FieldWriterRaw<'_, u32, BGPFCCR_SPEC, u8, u8, Unsafe, 8, 8>
Bits 8:15 - CLUT size
sourcepub fn start(&mut self) -> BitWriterRaw<'_, u32, BGPFCCR_SPEC, bool, BitM, 5>
pub fn start(&mut self) -> BitWriterRaw<'_, u32, BGPFCCR_SPEC, bool, BitM, 5>
Bit 5 - Start
sourcepub fn ccm(&mut self) -> BitWriterRaw<'_, u32, BGPFCCR_SPEC, bool, BitM, 4>
pub fn ccm(&mut self) -> BitWriterRaw<'_, u32, BGPFCCR_SPEC, bool, BitM, 4>
Bit 4 - CLUT Color mode
Methods from Deref<Target = W<BGPFCCR_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