Struct esp32h2::mcpwm0::int_ena::R

source ·
pub struct R(_);
Expand description

Register INT_ENA reader

Implementations§

source§

impl R

source

pub fn timer0_stop_int_ena(&self) -> TIMER0_STOP_INT_ENA_R

Bit 0 - The enable bit for the interrupt triggered when the timer 0 stops.

source

pub fn timer1_stop_int_ena(&self) -> TIMER1_STOP_INT_ENA_R

Bit 1 - The enable bit for the interrupt triggered when the timer 1 stops.

source

pub fn timer2_stop_int_ena(&self) -> TIMER2_STOP_INT_ENA_R

Bit 2 - The enable bit for the interrupt triggered when the timer 2 stops.

source

pub fn timer0_tez_int_ena(&self) -> TIMER0_TEZ_INT_ENA_R

Bit 3 - The enable bit for the interrupt triggered by a PWM timer 0 TEZ event.

source

pub fn timer1_tez_int_ena(&self) -> TIMER1_TEZ_INT_ENA_R

Bit 4 - The enable bit for the interrupt triggered by a PWM timer 1 TEZ event.

source

pub fn timer2_tez_int_ena(&self) -> TIMER2_TEZ_INT_ENA_R

Bit 5 - The enable bit for the interrupt triggered by a PWM timer 2 TEZ event.

source

pub fn timer0_tep_int_ena(&self) -> TIMER0_TEP_INT_ENA_R

Bit 6 - The enable bit for the interrupt triggered by a PWM timer 0 TEP event.

source

pub fn timer1_tep_int_ena(&self) -> TIMER1_TEP_INT_ENA_R

Bit 7 - The enable bit for the interrupt triggered by a PWM timer 1 TEP event.

source

pub fn timer2_tep_int_ena(&self) -> TIMER2_TEP_INT_ENA_R

Bit 8 - The enable bit for the interrupt triggered by a PWM timer 2 TEP event.

source

pub fn fault0_int_ena(&self) -> FAULT0_INT_ENA_R

Bit 9 - The enable bit for the interrupt triggered when event_f0 starts.

source

pub fn fault1_int_ena(&self) -> FAULT1_INT_ENA_R

Bit 10 - The enable bit for the interrupt triggered when event_f1 starts.

source

pub fn fault2_int_ena(&self) -> FAULT2_INT_ENA_R

Bit 11 - The enable bit for the interrupt triggered when event_f2 starts.

source

pub fn fault0_clr_int_ena(&self) -> FAULT0_CLR_INT_ENA_R

Bit 12 - The enable bit for the interrupt triggered when event_f0 ends.

source

pub fn fault1_clr_int_ena(&self) -> FAULT1_CLR_INT_ENA_R

Bit 13 - The enable bit for the interrupt triggered when event_f1 ends.

source

pub fn fault2_clr_int_ena(&self) -> FAULT2_CLR_INT_ENA_R

Bit 14 - The enable bit for the interrupt triggered when event_f2 ends.

source

pub fn cmpr0_tea_int_ena(&self) -> CMPR0_TEA_INT_ENA_R

Bit 15 - The enable bit for the interrupt triggered by a PWM operator 0 TEA event

source

pub fn cmpr1_tea_int_ena(&self) -> CMPR1_TEA_INT_ENA_R

Bit 16 - The enable bit for the interrupt triggered by a PWM operator 1 TEA event

source

pub fn cmpr2_tea_int_ena(&self) -> CMPR2_TEA_INT_ENA_R

Bit 17 - The enable bit for the interrupt triggered by a PWM operator 2 TEA event

source

pub fn cmpr0_teb_int_ena(&self) -> CMPR0_TEB_INT_ENA_R

Bit 18 - The enable bit for the interrupt triggered by a PWM operator 0 TEB event

source

pub fn cmpr1_teb_int_ena(&self) -> CMPR1_TEB_INT_ENA_R

Bit 19 - The enable bit for the interrupt triggered by a PWM operator 1 TEB event

source

pub fn cmpr2_teb_int_ena(&self) -> CMPR2_TEB_INT_ENA_R

Bit 20 - The enable bit for the interrupt triggered by a PWM operator 2 TEB event

source

pub fn tz0_cbc_int_ena(&self) -> TZ0_CBC_INT_ENA_R

Bit 21 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM0.

source

pub fn tz1_cbc_int_ena(&self) -> TZ1_CBC_INT_ENA_R

Bit 22 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM1.

source

pub fn tz2_cbc_int_ena(&self) -> TZ2_CBC_INT_ENA_R

Bit 23 - The enable bit for the interrupt triggered by a cycle-by-cycle mode action on PWM2.

source

pub fn tz0_ost_int_ena(&self) -> TZ0_OST_INT_ENA_R

Bit 24 - The enable bit for the interrupt triggered by a one-shot mode action on PWM0.

source

pub fn tz1_ost_int_ena(&self) -> TZ1_OST_INT_ENA_R

Bit 25 - The enable bit for the interrupt triggered by a one-shot mode action on PWM1.

source

pub fn tz2_ost_int_ena(&self) -> TZ2_OST_INT_ENA_R

Bit 26 - The enable bit for the interrupt triggered by a one-shot mode action on PWM2.

source

pub fn cap0_int_ena(&self) -> CAP0_INT_ENA_R

Bit 27 - The enable bit for the interrupt triggered by capture on channel 0.

source

pub fn cap1_int_ena(&self) -> CAP1_INT_ENA_R

Bit 28 - The enable bit for the interrupt triggered by capture on channel 1.

source

pub fn cap2_int_ena(&self) -> CAP2_INT_ENA_R

Bit 29 - The enable bit for the interrupt triggered by capture on channel 2.

Methods from Deref<Target = R<INT_ENA_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<INT_ENA_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl From<R<INT_ENA_SPEC>> for R

source§

fn from(reader: R<INT_ENA_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.