Struct imxrt_ral::Instances

source ·
pub struct Instances {
Show 58 fields pub ADC: ADC, pub ADC_ETC: ADC_ETC, pub AIPSTZ1: AIPSTZ1, pub AIPSTZ2: AIPSTZ2, pub AOI: AOI, pub CCM: CCM, pub CCM_ANALOG: CCM_ANALOG, pub CSU: CSU, pub DCDC: DCDC, pub DCP: DCP, pub DMA: DMA, pub DMAMUX: DMAMUX, pub EWM: EWM, pub FLEXIO1: FLEXIO1, pub FLEXRAM: FLEXRAM, pub FLEXSPI: FLEXSPI, pub GPC: GPC, pub GPIO1: GPIO1, pub GPIO5: GPIO5, pub GPIO2: GPIO2, pub GPT1: GPT1, pub GPT2: GPT2, pub IOMUXC: IOMUXC, pub IOMUXC_GPR: IOMUXC_GPR, pub IOMUXC_SNVS: IOMUXC_SNVS, pub IOMUXC_SNVS_GPR: IOMUXC_SNVS_GPR, pub KPP: KPP, pub LPI2C1: LPI2C1, pub LPI2C2: LPI2C2, pub LPSPI1: LPSPI1, pub LPSPI2: LPSPI2, pub LPUART1: LPUART1, pub LPUART2: LPUART2, pub LPUART3: LPUART3, pub LPUART4: LPUART4, pub OCOTP: OCOTP, pub OTFAD: OTFAD, pub PGC: PGC, pub PIT: PIT, pub PMU: PMU, pub PWM: PWM, pub ROMC: ROMC, pub RTWDOG: RTWDOG, pub SAI1: SAI1, pub SAI3: SAI3, pub SNVS: SNVS, pub SPDIF: SPDIF, pub SRC: SRC, pub TEMPMON: TEMPMON, pub TRNG: TRNG, pub USB: USB, pub USB_ANALOG: USB_ANALOG, pub USBNC: USBNC, pub USBPHY: USBPHY, pub WDOG1: WDOG1, pub WDOG2: WDOG2, pub XBARA: XBARA, pub XTALOSC24M: XTALOSC24M,
}
Expand description

Instances for all of this device’s peripherals.

Use this if you want a single way to acquire all instances for your device.

Fields§

§ADC: ADC§ADC_ETC: ADC_ETC§AIPSTZ1: AIPSTZ1§AIPSTZ2: AIPSTZ2§AOI: AOI§CCM: CCM§CCM_ANALOG: CCM_ANALOG§CSU: CSU§DCDC: DCDC§DCP: DCP§DMA: DMA§DMAMUX: DMAMUX§EWM: EWM§FLEXIO1: FLEXIO1§FLEXRAM: FLEXRAM§FLEXSPI: FLEXSPI§GPC: GPC§GPIO1: GPIO1§GPIO5: GPIO5§GPIO2: GPIO2§GPT1: GPT1§GPT2: GPT2§IOMUXC: IOMUXC§IOMUXC_GPR: IOMUXC_GPR§IOMUXC_SNVS: IOMUXC_SNVS§IOMUXC_SNVS_GPR: IOMUXC_SNVS_GPR§KPP: KPP§LPI2C1: LPI2C1§LPI2C2: LPI2C2§LPSPI1: LPSPI1§LPSPI2: LPSPI2§LPUART1: LPUART1§LPUART2: LPUART2§LPUART3: LPUART3§LPUART4: LPUART4§OCOTP: OCOTP§OTFAD: OTFAD§PGC: PGC§PIT: PIT§PMU: PMU§PWM: PWM§ROMC: ROMC§RTWDOG: RTWDOG§SAI1: SAI1§SAI3: SAI3§SNVS: SNVS§SPDIF: SPDIF§SRC: SRC§TEMPMON: TEMPMON§TRNG: TRNG§USB: USB§USB_ANALOG: USB_ANALOG§USBNC: USBNC§USBPHY: USBPHY§WDOG1: WDOG1§WDOG2: WDOG2§XBARA: XBARA§XTALOSC24M: XTALOSC24M

Implementations§

source§

impl Instances

source

pub const unsafe fn instances() -> Self

Acquire all peripheral instances.

§Safety

Since this calls instance() to initialize each of its members, the instance() safety contract applies. See the Instance safety documentation for more information.

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> 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.