Struct imxrt_ral::Instances

source ·
pub struct Instances {
Show 112 fields pub ADC1: ADC1, pub ADC2: ADC2, pub ADC_ETC: ADC_ETC, pub AIPSTZ1: AIPSTZ1, pub AIPSTZ2: AIPSTZ2, pub AIPSTZ3: AIPSTZ3, pub AIPSTZ4: AIPSTZ4, pub AOI1: AOI1, pub AOI2: AOI2, pub BEE: BEE, pub CAN1: CAN1, pub CAN2: CAN2, pub CAN3: CAN3, pub CCM: CCM, pub CCM_ANALOG: CCM_ANALOG, pub CMP1: CMP1, pub CMP2: CMP2, pub CMP3: CMP3, pub CMP4: CMP4, pub CSI: CSI, pub CSU: CSU, pub DCDC: DCDC, pub DCP: DCP, pub DMA: DMA, pub DMAMUX: DMAMUX, pub ENC1: ENC1, pub ENC2: ENC2, pub ENC3: ENC3, pub ENC4: ENC4, pub ENET1: ENET1, pub ENET2: ENET2, pub EWM: EWM, pub FLEXIO1: FLEXIO1, pub FLEXIO2: FLEXIO2, pub FLEXIO3: FLEXIO3, pub FLEXRAM: FLEXRAM, pub FLEXSPI1: FLEXSPI1, pub FLEXSPI2: FLEXSPI2, pub GPC: GPC, pub GPIO1: GPIO1, pub GPIO5: GPIO5, pub GPIO2: GPIO2, pub GPIO3: GPIO3, pub GPIO4: GPIO4, pub GPIO6: GPIO6, pub GPIO7: GPIO7, pub GPIO8: GPIO8, pub GPIO9: GPIO9, 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 LCDIF: LCDIF, pub LPI2C1: LPI2C1, pub LPI2C2: LPI2C2, pub LPI2C3: LPI2C3, pub LPI2C4: LPI2C4, pub LPSPI1: LPSPI1, pub LPSPI2: LPSPI2, pub LPSPI3: LPSPI3, pub LPSPI4: LPSPI4, pub LPUART1: LPUART1, pub LPUART2: LPUART2, pub LPUART3: LPUART3, pub LPUART4: LPUART4, pub LPUART5: LPUART5, pub LPUART6: LPUART6, pub LPUART7: LPUART7, pub LPUART8: LPUART8, pub OCOTP: OCOTP, pub PGC: PGC, pub PIT: PIT, pub PMU: PMU, pub PWM1: PWM1, pub PWM2: PWM2, pub PWM3: PWM3, pub PWM4: PWM4, pub PXP: PXP, pub ROMC: ROMC, pub RTWDOG: RTWDOG, pub SAI1: SAI1, pub SAI2: SAI2, pub SAI3: SAI3, pub SEMC: SEMC, pub SNVS: SNVS, pub SPDIF: SPDIF, pub SRC: SRC, pub TEMPMON: TEMPMON, pub TMR1: TMR1, pub TMR2: TMR2, pub TMR3: TMR3, pub TMR4: TMR4, pub TRNG: TRNG, pub TSC: TSC, pub USB1: USB1, pub USB2: USB2, pub USB_ANALOG: USB_ANALOG, pub USBNC1: USBNC1, pub USBNC2: USBNC2, pub USBPHY1: USBPHY1, pub USBPHY2: USBPHY2, pub USDHC1: USDHC1, pub USDHC2: USDHC2, pub WDOG1: WDOG1, pub WDOG2: WDOG2, pub XBARA1: XBARA1, pub XBARB2: XBARB2, pub XBARB3: XBARB3, 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§

§ADC1: ADC1§ADC2: ADC2§ADC_ETC: ADC_ETC§AIPSTZ1: AIPSTZ1§AIPSTZ2: AIPSTZ2§AIPSTZ3: AIPSTZ3§AIPSTZ4: AIPSTZ4§AOI1: AOI1§AOI2: AOI2§BEE: BEE§CAN1: CAN1§CAN2: CAN2§CAN3: CAN3§CCM: CCM§CCM_ANALOG: CCM_ANALOG§CMP1: CMP1§CMP2: CMP2§CMP3: CMP3§CMP4: CMP4§CSI: CSI§CSU: CSU§DCDC: DCDC§DCP: DCP§DMA: DMA§DMAMUX: DMAMUX§ENC1: ENC1§ENC2: ENC2§ENC3: ENC3§ENC4: ENC4§ENET1: ENET1§ENET2: ENET2§EWM: EWM§FLEXIO1: FLEXIO1§FLEXIO2: FLEXIO2§FLEXIO3: FLEXIO3§FLEXRAM: FLEXRAM§FLEXSPI1: FLEXSPI1§FLEXSPI2: FLEXSPI2§GPC: GPC§GPIO1: GPIO1§GPIO5: GPIO5§GPIO2: GPIO2§GPIO3: GPIO3§GPIO4: GPIO4§GPIO6: GPIO6§GPIO7: GPIO7§GPIO8: GPIO8§GPIO9: GPIO9§GPT1: GPT1§GPT2: GPT2§IOMUXC: IOMUXC§IOMUXC_GPR: IOMUXC_GPR§IOMUXC_SNVS: IOMUXC_SNVS§IOMUXC_SNVS_GPR: IOMUXC_SNVS_GPR§KPP: KPP§LCDIF: LCDIF§LPI2C1: LPI2C1§LPI2C2: LPI2C2§LPI2C3: LPI2C3§LPI2C4: LPI2C4§LPSPI1: LPSPI1§LPSPI2: LPSPI2§LPSPI3: LPSPI3§LPSPI4: LPSPI4§LPUART1: LPUART1§LPUART2: LPUART2§LPUART3: LPUART3§LPUART4: LPUART4§LPUART5: LPUART5§LPUART6: LPUART6§LPUART7: LPUART7§LPUART8: LPUART8§OCOTP: OCOTP§PGC: PGC§PIT: PIT§PMU: PMU§PWM1: PWM1§PWM2: PWM2§PWM3: PWM3§PWM4: PWM4§PXP: PXP§ROMC: ROMC§RTWDOG: RTWDOG§SAI1: SAI1§SAI2: SAI2§SAI3: SAI3§SEMC: SEMC§SNVS: SNVS§SPDIF: SPDIF§SRC: SRC§TEMPMON: TEMPMON§TMR1: TMR1§TMR2: TMR2§TMR3: TMR3§TMR4: TMR4§TRNG: TRNG§TSC: TSC§USB1: USB1§USB2: USB2§USB_ANALOG: USB_ANALOG§USBNC1: USBNC1§USBNC2: USBNC2§USBPHY1: USBPHY1§USBPHY2: USBPHY2§USDHC1: USDHC1§USDHC2: USDHC2§WDOG1: WDOG1§WDOG2: WDOG2§XBARA1: XBARA1§XBARB2: XBARB2§XBARB3: XBARB3§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.