nxp-pac

Crates

git

Versions

mcxn235

Flavors

Dma1ReqEnable0

Struct Dma1ReqEnable0 

Source
#[repr(transparent)]
pub struct Dma1ReqEnable0(pub u32);
Expand description

DMA1 Request Enable0.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Dma1ReqEnable0

Source

pub const fn req3_en1(&self) -> bool

This register is used to enable and disable PINT0 INT0 request. Raw bit values: false (0) = Value4: Disable.; true (1) = Value5: Enable.

Source

pub const fn set_req3_en1(&mut self, val: bool)

This register is used to enable and disable PINT0 INT0 request. Raw bit values: false (0) = Value4: Disable.; true (1) = Value5: Enable.

Source

pub const fn req4_en1(&self) -> bool

This register is used to enable and disable PINT0 INT1 request. Raw bit values: false (0) = Value6: Disable.; true (1) = Value7: Enable.

Source

pub const fn set_req4_en1(&mut self, val: bool)

This register is used to enable and disable PINT0 INT1 request. Raw bit values: false (0) = Value6: Disable.; true (1) = Value7: Enable.

Source

pub const fn req5_en1(&self) -> bool

This register is used to enable and disable PINT0 INT2 request. Raw bit values: false (0) = Value8: Disable.; true (1) = Value9: Enable.

Source

pub const fn set_req5_en1(&mut self, val: bool)

This register is used to enable and disable PINT0 INT2 request. Raw bit values: false (0) = Value8: Disable.; true (1) = Value9: Enable.

Source

pub const fn req6_en1(&self) -> bool

This register is used to enable and disable PINT0 INT3 request. Raw bit values: false (0) = Value10: Disable.; true (1) = Value11: Enable.

Source

pub const fn set_req6_en1(&mut self, val: bool)

This register is used to enable and disable PINT0 INT3 request. Raw bit values: false (0) = Value10: Disable.; true (1) = Value11: Enable.

Source

pub const fn req7_en1(&self) -> bool

This register is used to enable and disable CTIMER0 DMAREQ_M0 request. Raw bit values: false (0) = Value12: Disable.; true (1) = Value13: Enable.

Source

pub const fn set_req7_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER0 DMAREQ_M0 request. Raw bit values: false (0) = Value12: Disable.; true (1) = Value13: Enable.

Source

pub const fn req8_en1(&self) -> bool

This register is used to enable and disable CTIMER0 DMAREQ_M1 request. Raw bit values: false (0) = Value14: Disable.; true (1) = Value15: Enable.

Source

pub const fn set_req8_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER0 DMAREQ_M1 request. Raw bit values: false (0) = Value14: Disable.; true (1) = Value15: Enable.

Source

pub const fn req9_en1(&self) -> bool

This register is used to enable and disable CTIMER1 DMAREQ_M0 request. Raw bit values: false (0) = Value16: Disable.; true (1) = Value17: Enable.

Source

pub const fn set_req9_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER1 DMAREQ_M0 request. Raw bit values: false (0) = Value16: Disable.; true (1) = Value17: Enable.

Source

pub const fn req10_en1(&self) -> bool

This register is used to enable and disable CTIMER1 DMAREQ_M1 request. Raw bit values: false (0) = Value18: Disable.; true (1) = Value19: Enable.

Source

pub const fn set_req10_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER1 DMAREQ_M1 request. Raw bit values: false (0) = Value18: Disable.; true (1) = Value19: Enable.

Source

pub const fn req11_en1(&self) -> bool

This register is used to enable and disable CTIMER2 DMAREQ_M0 request. Raw bit values: false (0) = Value20: Disable.; true (1) = Value21: Enable.

Source

pub const fn set_req11_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER2 DMAREQ_M0 request. Raw bit values: false (0) = Value20: Disable.; true (1) = Value21: Enable.

Source

pub const fn req12_en1(&self) -> bool

This register is used to enable and disable CTIMER2 DMAREQ_M1 request. Raw bit values: false (0) = Value22: Disable.; true (1) = Value23: Enable.

Source

pub const fn set_req12_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER2 DMAREQ_M1 request. Raw bit values: false (0) = Value22: Disable.; true (1) = Value23: Enable.

Source

pub const fn req13_en1(&self) -> bool

This register is used to enable and disable CTIMER3 DMAREQ_M0 request. Raw bit values: false (0) = Value24: Disable.; true (1) = Value25: Enable.

Source

pub const fn set_req13_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER3 DMAREQ_M0 request. Raw bit values: false (0) = Value24: Disable.; true (1) = Value25: Enable.

Source

pub const fn req14_en1(&self) -> bool

This register is used to enable and disable CTIMER3 DMAREQ_M1 request. Raw bit values: false (0) = Value26: Disable.; true (1) = Value27: Enable.

Source

pub const fn set_req14_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER3 DMAREQ_M1 request. Raw bit values: false (0) = Value26: Disable.; true (1) = Value27: Enable.

Source

pub const fn req15_en1(&self) -> bool

This register is used to enable and disable CTIMER4 DMAREQ_M0 request. Raw bit values: false (0) = Value28: Disable.; true (1) = Value29: Enable.

Source

pub const fn set_req15_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER4 DMAREQ_M0 request. Raw bit values: false (0) = Value28: Disable.; true (1) = Value29: Enable.

Source

pub const fn req16_en1(&self) -> bool

This register is used to enable and disable CTIMER4 DMAREQ_M1 request. Raw bit values: false (0) = Value30: Disable.; true (1) = Value31: Enable.

Source

pub const fn set_req16_en1(&mut self, val: bool)

This register is used to enable and disable CTIMER4 DMAREQ_M1 request. Raw bit values: false (0) = Value30: Disable.; true (1) = Value31: Enable.

Source

pub const fn req17_en1(&self) -> bool

This register is used to enable and disable WUU0 wake up event request. Raw bit values: false (0) = Value32: Disable.; true (1) = Value33: Enable.

Source

pub const fn set_req17_en1(&mut self, val: bool)

This register is used to enable and disable WUU0 wake up event request. Raw bit values: false (0) = Value32: Disable.; true (1) = Value33: Enable.

Source

pub const fn req18_en1(&self) -> bool

This register is used to enable and disable MICFIL0 FIFO_request. Raw bit values: false (0) = Value34: Disable.; true (1) = Value35: Enable.

Source

pub const fn set_req18_en1(&mut self, val: bool)

This register is used to enable and disable MICFIL0 FIFO_request. Raw bit values: false (0) = Value34: Disable.; true (1) = Value35: Enable.

Source

pub const fn req21_en1(&self) -> bool

This register is used to enable and disable ADC0 FIFO A request. Raw bit values: false (0) = Value40: Disable.; true (1) = Value41: Enable.

Source

pub const fn set_req21_en1(&mut self, val: bool)

This register is used to enable and disable ADC0 FIFO A request. Raw bit values: false (0) = Value40: Disable.; true (1) = Value41: Enable.

Source

pub const fn req22_en1(&self) -> bool

This register is used to enable and disable ADC0 FIFO B request. Raw bit values: false (0) = Value42: Disable.; true (1) = Value43: Enable.

Source

pub const fn set_req22_en1(&mut self, val: bool)

This register is used to enable and disable ADC0 FIFO B request. Raw bit values: false (0) = Value42: Disable.; true (1) = Value43: Enable.

Source

pub const fn req23_en1(&self) -> bool

This register is used to enable and disable ADC1 FIFO A request. Raw bit values: false (0) = Value44: Disable.; true (1) = Value45: Enable.

Source

pub const fn set_req23_en1(&mut self, val: bool)

This register is used to enable and disable ADC1 FIFO A request. Raw bit values: false (0) = Value44: Disable.; true (1) = Value45: Enable.

Source

pub const fn req24_en1(&self) -> bool

This register is used to enable and disable ADC1 FIFO B request. Raw bit values: false (0) = Value46: Disable.; true (1) = Value47: Enable.

Source

pub const fn set_req24_en1(&mut self, val: bool)

This register is used to enable and disable ADC1 FIFO B request. Raw bit values: false (0) = Value46: Disable.; true (1) = Value47: Enable.

Source

pub const fn req28_en1(&self) -> bool

This register is used to enable and disable CMP0 DMA_request. Raw bit values: false (0) = Value54: Disable.; true (1) = Value55: Enable.

Source

pub const fn set_req28_en1(&mut self, val: bool)

This register is used to enable and disable CMP0 DMA_request. Raw bit values: false (0) = Value54: Disable.; true (1) = Value55: Enable.

Source

pub const fn req29_en1(&self) -> bool

This register is used to enable and disable CMP1 DMA_request. Raw bit values: false (0) = Value56: Disable.; true (1) = Value57: Enable.

Source

pub const fn set_req29_en1(&mut self, val: bool)

This register is used to enable and disable CMP1 DMA_request. Raw bit values: false (0) = Value56: Disable.; true (1) = Value57: Enable.

Source

pub const fn req31_en1(&self) -> bool

This register is used to enable and disable EVTG0 OUT0A request. Raw bit values: false (0) = Value60: Disable.; true (1) = Value61: Enable.

Source

pub const fn set_req31_en1(&mut self, val: bool)

This register is used to enable and disable EVTG0 OUT0A request. Raw bit values: false (0) = Value60: Disable.; true (1) = Value61: Enable.

Trait Implementations§

Source§

impl Clone for Dma1ReqEnable0

Source§

fn clone(&self) -> Dma1ReqEnable0

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 Default for Dma1ReqEnable0

Source§

fn default() -> Dma1ReqEnable0

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

impl PartialEq for Dma1ReqEnable0

Source§

fn eq(&self, other: &Dma1ReqEnable0) -> 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 Dma1ReqEnable0

Source§

impl Eq for Dma1ReqEnable0

Source§

impl StructuralPartialEq for Dma1ReqEnable0

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.