pub struct W(/* private fields */);Expand description
Register NMIENSET writer
Implementations§
Source§impl W
impl W
Sourcepub fn region0wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION0WA_AW, BitM, 0>
pub fn region0wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION0WA_AW, BitM, 0>
Bit 0 - Write ‘1’ to enable interrupt for event REGION0WA
Sourcepub fn region0ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION0RA_AW, BitM, 1>
pub fn region0ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION0RA_AW, BitM, 1>
Bit 1 - Write ‘1’ to enable interrupt for event REGION0RA
Sourcepub fn region1wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION1WA_AW, BitM, 2>
pub fn region1wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION1WA_AW, BitM, 2>
Bit 2 - Write ‘1’ to enable interrupt for event REGION1WA
Sourcepub fn region1ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION1RA_AW, BitM, 3>
pub fn region1ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION1RA_AW, BitM, 3>
Bit 3 - Write ‘1’ to enable interrupt for event REGION1RA
Sourcepub fn region2wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION2WA_AW, BitM, 4>
pub fn region2wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION2WA_AW, BitM, 4>
Bit 4 - Write ‘1’ to enable interrupt for event REGION2WA
Sourcepub fn region2ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION2RA_AW, BitM, 5>
pub fn region2ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION2RA_AW, BitM, 5>
Bit 5 - Write ‘1’ to enable interrupt for event REGION2RA
Sourcepub fn region3wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION3WA_AW, BitM, 6>
pub fn region3wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION3WA_AW, BitM, 6>
Bit 6 - Write ‘1’ to enable interrupt for event REGION3WA
Sourcepub fn region3ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION3RA_AW, BitM, 7>
pub fn region3ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, REGION3RA_AW, BitM, 7>
Bit 7 - Write ‘1’ to enable interrupt for event REGION3RA
Sourcepub fn pregion0wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION0WA_AW, BitM, 24>
pub fn pregion0wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION0WA_AW, BitM, 24>
Bit 24 - Write ‘1’ to enable interrupt for event PREGION0WA
Sourcepub fn pregion0ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION0RA_AW, BitM, 25>
pub fn pregion0ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION0RA_AW, BitM, 25>
Bit 25 - Write ‘1’ to enable interrupt for event PREGION0RA
Sourcepub fn pregion1wa(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION1WA_AW, BitM, 26>
pub fn pregion1wa( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION1WA_AW, BitM, 26>
Bit 26 - Write ‘1’ to enable interrupt for event PREGION1WA
Sourcepub fn pregion1ra(
&mut self,
) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION1RA_AW, BitM, 27>
pub fn pregion1ra( &mut self, ) -> BitWriterRaw<'_, u32, NMIENSET_SPEC, PREGION1RA_AW, BitM, 27>
Bit 27 - Write ‘1’ to enable interrupt for event PREGION1RA
Methods from Deref<Target = W<NMIENSET_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
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.