Struct daisy::pac::hrtim_timc::chpcr::W
pub struct W(/* private fields */);
Expand description
Register CHPCR
writer
Implementations§
§impl W
impl W
pub fn strtpw(
&mut self
) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 4, 7>
pub fn strtpw( &mut self ) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 4, 7>
Bits 7:10 - STRTPW
pub fn chpdty(
&mut self
) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 3, 4>
pub fn chpdty( &mut self ) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 3, 4>
Bits 4:6 - Timerx chopper duty cycle value
pub fn chpfrq(
&mut self
) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 4, 0>
pub fn chpfrq( &mut self ) -> FieldWriterRaw<'_, u32, CHPCR_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3 - Timerx carrier frequency value
Methods from Deref<Target = W<CHPCR_SPEC>>§
pub 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§
§impl From<W<CHPCR_SPEC>> for W
impl From<W<CHPCR_SPEC>> for W
§fn from(writer: W<CHPCR_SPEC>) -> W
fn from(writer: W<CHPCR_SPEC>) -> W
Converts to this type from the input type.
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