pub struct W(/* private fields */);
Expand description
Register SHORTS
writer
Implementations§
source§impl W
impl W
sourcepub fn compare0_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE0_CLEAR_A, BitM, 0>
pub fn compare0_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE0_CLEAR_A, BitM, 0>
Bit 0 - Shortcut between COMPARE[0] event and CLEAR task
sourcepub fn compare1_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE1_CLEAR_A, BitM, 1>
pub fn compare1_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE1_CLEAR_A, BitM, 1>
Bit 1 - Shortcut between COMPARE[1] event and CLEAR task
sourcepub fn compare2_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE2_CLEAR_A, BitM, 2>
pub fn compare2_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE2_CLEAR_A, BitM, 2>
Bit 2 - Shortcut between COMPARE[2] event and CLEAR task
sourcepub fn compare3_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE3_CLEAR_A, BitM, 3>
pub fn compare3_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE3_CLEAR_A, BitM, 3>
Bit 3 - Shortcut between COMPARE[3] event and CLEAR task
sourcepub fn compare4_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE4_CLEAR_A, BitM, 4>
pub fn compare4_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE4_CLEAR_A, BitM, 4>
Bit 4 - Shortcut between COMPARE[4] event and CLEAR task
sourcepub fn compare5_clear(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE5_CLEAR_A, BitM, 5>
pub fn compare5_clear( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE5_CLEAR_A, BitM, 5>
Bit 5 - Shortcut between COMPARE[5] event and CLEAR task
sourcepub fn compare0_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE0_STOP_A, BitM, 8>
pub fn compare0_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE0_STOP_A, BitM, 8>
Bit 8 - Shortcut between COMPARE[0] event and STOP task
sourcepub fn compare1_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE1_STOP_A, BitM, 9>
pub fn compare1_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE1_STOP_A, BitM, 9>
Bit 9 - Shortcut between COMPARE[1] event and STOP task
sourcepub fn compare2_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE2_STOP_A, BitM, 10>
pub fn compare2_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE2_STOP_A, BitM, 10>
Bit 10 - Shortcut between COMPARE[2] event and STOP task
sourcepub fn compare3_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE3_STOP_A, BitM, 11>
pub fn compare3_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE3_STOP_A, BitM, 11>
Bit 11 - Shortcut between COMPARE[3] event and STOP task
sourcepub fn compare4_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE4_STOP_A, BitM, 12>
pub fn compare4_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE4_STOP_A, BitM, 12>
Bit 12 - Shortcut between COMPARE[4] event and STOP task
sourcepub fn compare5_stop(
&mut self
) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE5_STOP_A, BitM, 13>
pub fn compare5_stop( &mut self ) -> BitWriterRaw<'_, u32, SHORTS_SPEC, COMPARE5_STOP_A, BitM, 13>
Bit 13 - Shortcut between COMPARE[5] event and STOP task
Methods from Deref<Target = W<SHORTS_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
source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.