Struct daisy::pac::hrtim_timd::outdr::W
pub struct W(/* private fields */);
Expand description
Register OUTDR
writer
Implementations§
§impl W
impl W
pub fn didl2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 23>
pub fn didl2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 23>
Bit 23 - Output 2 Deadtime upon burst mode Idle entry
pub fn chp2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 22>
pub fn chp2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 22>
Bit 22 - Output 2 Chopper enable
pub fn fault2(
&mut self
) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 2, 20>
pub fn fault2( &mut self ) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 2, 20>
Bits 20:21 - Output 2 Fault state
pub fn idles2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 19>
pub fn idles2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 19>
Bit 19 - Output 2 Idle State
pub fn idlem2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 18>
pub fn idlem2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 18>
Bit 18 - Output 2 Idle mode
pub fn pol2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 17>
pub fn pol2(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 17>
Bit 17 - Output 2 polarity
pub fn dlyprt(
&mut self
) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 3, 10>
pub fn dlyprt( &mut self ) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 3, 10>
Bits 10:12 - Delayed Protection
pub fn dlyprten(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 9>
pub fn dlyprten(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 9>
Bit 9 - Delayed Protection Enable
pub fn dten(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 8>
pub fn dten(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 8>
Bit 8 - Deadtime enable
pub fn didl1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 7>
pub fn didl1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 7>
Bit 7 - Output 1 Deadtime upon burst mode Idle entry
pub fn chp1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 6>
pub fn chp1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 6>
Bit 6 - Output 1 Chopper enable
pub fn fault1(
&mut self
) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 2, 4>
pub fn fault1( &mut self ) -> FieldWriterRaw<'_, u32, OUTDR_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Output 1 Fault state
pub fn idles1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 3>
pub fn idles1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 3>
Bit 3 - Output 1 Idle State
pub fn idlem1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 2>
pub fn idlem1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 2>
Bit 2 - Output 1 Idle mode
pub fn pol1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 1>
pub fn pol1(&mut self) -> BitWriterRaw<'_, u32, OUTDR_SPEC, bool, BitM, 1>
Bit 1 - Output 1 polarity
Methods from Deref<Target = W<OUTDR_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<OUTDR_SPEC>> for W
impl From<W<OUTDR_SPEC>> for W
§fn from(writer: W<OUTDR_SPEC>) -> W
fn from(writer: W<OUTDR_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