nxp-pac

Crates

git

Versions

mcxn947_cm33_core1

Flavors

Presetctrl1

Struct Presetctrl1 

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

Peripheral Reset Control 1

Tuple Fields§

§0: u32

Implementations§

Source§

impl Presetctrl1

Source

pub const fn mrt_rst(&self) -> MrtRst

MRT reset control

Source

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

MRT reset control

Source

pub const fn ostimer_rst(&self) -> OstimerRst

OS Event Timer reset control

Source

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

OS Event Timer reset control

Source

pub const fn sct_rst(&self) -> SctRst

SCT reset control

Source

pub const fn set_sct_rst(&mut self, val: SctRst)

SCT reset control

Source

pub const fn adc0_rst(&self) -> Adc0Rst

ADC0 reset control

Source

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

ADC0 reset control

Source

pub const fn adc1_rst(&self) -> Adc1Rst

ADC1 reset control

Source

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

ADC1 reset control

Source

pub const fn dac0_rst(&self) -> Dac0Rst

DAC0 reset control

Source

pub const fn set_dac0_rst(&mut self, val: Dac0Rst)

DAC0 reset control

Source

pub const fn rtc_rst(&self) -> RtcRst

RTC reset control

Source

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

RTC reset control

Source

pub const fn evsim0_rst(&self) -> Evsim0Rst

EVSIM0 reset control

Source

pub const fn set_evsim0_rst(&mut self, val: Evsim0Rst)

EVSIM0 reset control

Source

pub const fn evsim1_rst(&self) -> Evsim1Rst

EVSIM1 reset control

Source

pub const fn set_evsim1_rst(&mut self, val: Evsim1Rst)

EVSIM1 reset control

Source

pub const fn utick_rst(&self) -> UtickRst

UTICK reset control

Source

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

UTICK reset control

Source

pub const fn fc0_rst(&self) -> Fc0Rst

LP_FLEXCOMM0 reset control

Source

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

LP_FLEXCOMM0 reset control

Source

pub const fn fc1_rst(&self) -> Fc1Rst

LP_FLEXCOMM1 reset control

Source

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

LP_FLEXCOMM1 reset control

Source

pub const fn fc2_rst(&self) -> Fc2Rst

LP_FLEXCOMM2 reset control

Source

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

LP_FLEXCOMM2 reset control

Source

pub const fn fc3_rst(&self) -> Fc3Rst

LP_FLEXCOMM3 reset control

Source

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

LP_FLEXCOMM3 reset control

Source

pub const fn fc4_rst(&self) -> Fc4Rst

LP_FLEXCOMM4 reset control

Source

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

LP_FLEXCOMM4 reset control

Source

pub const fn fc5_rst(&self) -> Fc5Rst

LP_FLEXCOMM5 reset control

Source

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

LP_FLEXCOMM5 reset control

Source

pub const fn fc6_rst(&self) -> Fc6Rst

LP_FLEXCOMM6 reset control

Source

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

LP_FLEXCOMM6 reset control

Source

pub const fn fc7_rst(&self) -> Fc7Rst

LP_FLEXCOMM7 reset control

Source

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

LP_FLEXCOMM7 reset control

Source

pub const fn fc8_rst(&self) -> Fc8Rst

LP_FLEXCOMM8 reset control

Source

pub const fn set_fc8_rst(&mut self, val: Fc8Rst)

LP_FLEXCOMM8 reset control

Source

pub const fn fc9_rst(&self) -> Fc9Rst

LP_FLEXCOMM9 reset control

Source

pub const fn set_fc9_rst(&mut self, val: Fc9Rst)

LP_FLEXCOMM9 reset control

Source

pub const fn micfil_rst(&self) -> MicfilRst

MICFIL reset control

Source

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

MICFIL reset control

Source

pub const fn timer2_rst(&self) -> Timer2Rst

CTIMER2 reset control

Source

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

CTIMER2 reset control

Source

pub const fn usb0_fs_dcd_rst(&self) -> Usb0FsDcdRst

USB FS DCD reset control

Source

pub const fn set_usb0_fs_dcd_rst(&mut self, val: Usb0FsDcdRst)

USB FS DCD reset control

Source

pub const fn usb0_fs_rst(&self) -> Usb0FsRst

USB FS reset control

Source

pub const fn set_usb0_fs_rst(&mut self, val: Usb0FsRst)

USB FS reset control

Source

pub const fn timer0_rst(&self) -> Timer0Rst

CTIMER0 reset control

Source

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

CTIMER0 reset control

Source

pub const fn timer1_rst(&self) -> Timer1Rst

CTIMER1 reset control

Source

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

CTIMER1 reset control

Source

pub const fn smart_dma_rst(&self) -> SmartDmaRst

SmartDMA reset control

Source

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

SmartDMA reset control

Trait Implementations§

Source§

impl Clone for Presetctrl1

Source§

fn clone(&self) -> Presetctrl1

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 Presetctrl1

Source§

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

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

impl Default for Presetctrl1

Source§

fn default() -> Presetctrl1

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

impl PartialEq for Presetctrl1

Source§

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

Source§

impl Eq for Presetctrl1

Source§

impl StructuralPartialEq for Presetctrl1

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.