nxp-pac

Crates

git

Versions

mcxa256

Flavors

Intctrl

Struct Intctrl 

Source
#[repr(transparent)]
pub struct Intctrl(pub u16);
Expand description

Interrupt Control Register

Tuple Fields§

§0: u16

Implementations§

Source§

impl Intctrl

Source

pub const fn sabie(&self) -> Sabie

Simultaneous PHASEA and PHASEB Change Interrupt Enable

Source

pub const fn set_sabie(&mut self, val: Sabie)

Simultaneous PHASEA and PHASEB Change Interrupt Enable

Source

pub const fn sabirq(&self) -> Sabirq

Simultaneous PHASEA and PHASEB Change Interrupt Request

Source

pub const fn set_sabirq(&mut self, val: Sabirq)

Simultaneous PHASEA and PHASEB Change Interrupt Request

Source

pub const fn dirie(&self) -> Dirie

Count direction change interrupt enable

Source

pub const fn set_dirie(&mut self, val: Dirie)

Count direction change interrupt enable

Source

pub const fn dirirq(&self) -> Dirirq

Count direction change interrupt

Source

pub const fn set_dirirq(&mut self, val: Dirirq)

Count direction change interrupt

Source

pub const fn ruie(&self) -> Ruie

Roll-under Interrupt Enable

Source

pub const fn set_ruie(&mut self, val: Ruie)

Roll-under Interrupt Enable

Source

pub const fn ruirq(&self) -> Ruirq

Roll-under Interrupt Request

Source

pub const fn set_ruirq(&mut self, val: Ruirq)

Roll-under Interrupt Request

Source

pub const fn roie(&self) -> Roie

Roll-over Interrupt Enable

Source

pub const fn set_roie(&mut self, val: Roie)

Roll-over Interrupt Enable

Source

pub const fn roirq(&self) -> Roirq

Roll-over Interrupt Request

Source

pub const fn set_roirq(&mut self, val: Roirq)

Roll-over Interrupt Request

Source

pub const fn cmp0ie(&self) -> Cmp0ie

Compare 0 Interrupt Enable

Source

pub const fn set_cmp0ie(&mut self, val: Cmp0ie)

Compare 0 Interrupt Enable

Source

pub const fn cmp0irq(&self) -> Cmp0irq

Compare 0 Interrupt Request

Source

pub const fn set_cmp0irq(&mut self, val: Cmp0irq)

Compare 0 Interrupt Request

Source

pub const fn cmp1ie(&self) -> Cmp1ie

Compare1 Interrupt Enable

Source

pub const fn set_cmp1ie(&mut self, val: Cmp1ie)

Compare1 Interrupt Enable

Source

pub const fn cmp1irq(&self) -> Cmp1irq

Compare1 Interrupt Request

Source

pub const fn set_cmp1irq(&mut self, val: Cmp1irq)

Compare1 Interrupt Request

Source

pub const fn cmp2ie(&self) -> Cmp2ie

Compare2 Interrupt Enable

Source

pub const fn set_cmp2ie(&mut self, val: Cmp2ie)

Compare2 Interrupt Enable

Source

pub const fn cmp2irq(&self) -> Cmp2irq

Compare2 Interrupt Request

Source

pub const fn set_cmp2irq(&mut self, val: Cmp2irq)

Compare2 Interrupt Request

Source

pub const fn cmp3ie(&self) -> Cmp3ie

Compare3 Interrupt Enable

Source

pub const fn set_cmp3ie(&mut self, val: Cmp3ie)

Compare3 Interrupt Enable

Source

pub const fn cmp3irq(&self) -> Cmp3irq

Compare3 Interrupt Request

Source

pub const fn set_cmp3irq(&mut self, val: Cmp3irq)

Compare3 Interrupt Request

Trait Implementations§

Source§

impl Clone for Intctrl

Source§

fn clone(&self) -> Intctrl

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Intctrl

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for Intctrl

Source§

fn default() -> Intctrl

Returns the “default value” for a type. Read more
Source§

impl PartialEq for Intctrl

Source§

fn eq(&self, other: &Intctrl) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Intctrl

Source§

impl Eq for Intctrl

Source§

impl StructuralPartialEq for Intctrl

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.