nxp-pac

Crates

git

Versions

mcxn246

Flavors

Presetctrl1N2

Struct Presetctrl1N2 

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

Peripheral Reset Control 1.

Tuple Fields§

§0: u32

Implementations§

Source§

impl Presetctrl1N2

Source

pub const fn mrt_rst(&self) -> bool

MRT reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

MRT reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn ostimer_rst(&self) -> bool

OS Event Timer reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

OS Event Timer reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn adc0_rst(&self) -> bool

ADC0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

ADC0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn adc1_rst(&self) -> bool

ADC1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

ADC1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn rtc_rst(&self) -> bool

RTC reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

RTC reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn utick_rst(&self) -> bool

UTICK reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

UTICK reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc0_rst(&self) -> bool

LP_FLEXCOMM0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc1_rst(&self) -> bool

LP_FLEXCOMM1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc2_rst(&self) -> bool

LP_FLEXCOMM2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc3_rst(&self) -> bool

LP_FLEXCOMM3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM3 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc4_rst(&self) -> bool

LP_FLEXCOMM4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM4 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc5_rst(&self) -> bool

LP_FLEXCOMM5 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM5 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc6_rst(&self) -> bool

LP_FLEXCOMM6 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM6 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn fc7_rst(&self) -> bool

LP_FLEXCOMM7 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

LP_FLEXCOMM7 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn micfil_rst(&self) -> bool

MICFIL reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

MICFIL reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn timer2_rst(&self) -> bool

CTIMER2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

CTIMER2 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn timer0_rst(&self) -> bool

CTIMER0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

CTIMER0 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn timer1_rst(&self) -> bool

CTIMER1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

CTIMER1 reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

pub const fn smart_dma_rst(&self) -> bool

SmartDMA reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Source

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

SmartDMA reset control. Raw bit values: false (0) = Released: Block is not reset.; true (1) = Asserted: Block is reset.

Trait Implementations§

Source§

impl Clone for Presetctrl1N2

Source§

fn clone(&self) -> Presetctrl1N2

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 Presetctrl1N2

Source§

fn default() -> Presetctrl1N2

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

impl PartialEq for Presetctrl1N2

Source§

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

Source§

impl Eq for Presetctrl1N2

Source§

impl StructuralPartialEq for Presetctrl1N2

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.