teensy4_bsp::board

Struct Instances

pub struct Instances {
Show 112 fields pub ADC1: Instance<RegisterBlock, 1>, pub ADC2: Instance<RegisterBlock, 2>, pub ADC_ETC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::adc_etc::ADC_ETC::{constant#0}>, pub AIPSTZ1: Instance<RegisterBlock, 1>, pub AIPSTZ2: Instance<RegisterBlock, 2>, pub AIPSTZ3: Instance<RegisterBlock, 3>, pub AIPSTZ4: Instance<RegisterBlock, 4>, pub AOI1: Instance<RegisterBlock, 1>, pub AOI2: Instance<RegisterBlock, 2>, pub BEE: Instance<RegisterBlock, imxrt_ral::::imxrt1062::bee::BEE::{constant#0}>, pub CAN1: Instance<RegisterBlock, 1>, pub CAN2: Instance<RegisterBlock, 2>, pub CAN3: Instance<RegisterBlock, imxrt_ral::::imxrt1062::can3::CAN3::{constant#0}>, pub CCM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ccm::CCM::{constant#0}>, pub CCM_ANALOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ccm_analog::CCM_ANALOG::{constant#0}>, pub CMP1: Instance<RegisterBlock, 1>, pub CMP2: Instance<RegisterBlock, 2>, pub CMP3: Instance<RegisterBlock, 3>, pub CMP4: Instance<RegisterBlock, 4>, pub CSI: Instance<RegisterBlock, imxrt_ral::::imxrt1062::csi::CSI::{constant#0}>, pub CSU: Instance<RegisterBlock, imxrt_ral::::imxrt1062::csu::CSU::{constant#0}>, pub DCDC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dcdc::DCDC::{constant#0}>, pub DCP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dcp::DCP::{constant#0}>, pub DMA: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dma::DMA::{constant#0}>, pub DMAMUX: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dmamux::DMAMUX::{constant#0}>, pub ENC1: Instance<RegisterBlock, 1>, pub ENC2: Instance<RegisterBlock, 2>, pub ENC3: Instance<RegisterBlock, 3>, pub ENC4: Instance<RegisterBlock, 4>, pub ENET1: Instance<RegisterBlock, 1>, pub ENET2: Instance<RegisterBlock, 2>, pub EWM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ewm::EWM::{constant#0}>, pub FLEXIO1: Instance<RegisterBlock, 1>, pub FLEXIO2: Instance<RegisterBlock, 2>, pub FLEXIO3: Instance<RegisterBlock, 3>, pub FLEXRAM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::flexram::FLEXRAM::{constant#0}>, pub FLEXSPI1: Instance<RegisterBlock, 1>, pub FLEXSPI2: Instance<RegisterBlock, 2>, pub GPC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::gpc::GPC::{constant#0}>, pub GPIO1: Instance<RegisterBlock, 1>, pub GPIO5: Instance<RegisterBlock, 5>, pub GPIO2: Instance<RegisterBlock, 2>, pub GPIO3: Instance<RegisterBlock, 3>, pub GPIO4: Instance<RegisterBlock, 4>, pub GPIO6: Instance<RegisterBlock, 6>, pub GPIO7: Instance<RegisterBlock, 7>, pub GPIO8: Instance<RegisterBlock, 8>, pub GPIO9: Instance<RegisterBlock, 9>, pub GPT1: Instance<RegisterBlock, 1>, pub GPT2: Instance<RegisterBlock, 2>, pub IOMUXC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc::IOMUXC::{constant#0}>, pub IOMUXC_GPR: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_gpr::IOMUXC_GPR::{constant#0}>, pub IOMUXC_SNVS: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_snvs::IOMUXC_SNVS::{constant#0}>, pub IOMUXC_SNVS_GPR: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_snvs_gpr::IOMUXC_SNVS_GPR::{constant#0}>, pub KPP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::kpp::KPP::{constant#0}>, pub LCDIF: Instance<RegisterBlock, imxrt_ral::::imxrt1062::lcdif::LCDIF::{constant#0}>, pub LPI2C1: Instance<RegisterBlock, 1>, pub LPI2C2: Instance<RegisterBlock, 2>, pub LPI2C3: Instance<RegisterBlock, 3>, pub LPI2C4: Instance<RegisterBlock, 4>, pub LPSPI1: Instance<RegisterBlock, 1>, pub LPSPI2: Instance<RegisterBlock, 2>, pub LPSPI3: Instance<RegisterBlock, 3>, pub LPSPI4: Instance<RegisterBlock, 4>, pub LPUART1: Instance<RegisterBlock, 1>, pub LPUART2: Instance<RegisterBlock, 2>, pub LPUART3: Instance<RegisterBlock, 3>, pub LPUART4: Instance<RegisterBlock, 4>, pub LPUART5: Instance<RegisterBlock, 5>, pub LPUART6: Instance<RegisterBlock, 6>, pub LPUART7: Instance<RegisterBlock, 7>, pub LPUART8: Instance<RegisterBlock, 8>, pub OCOTP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ocotp::OCOTP::{constant#0}>, pub PGC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pgc::PGC::{constant#0}>, pub PIT: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pit::PIT::{constant#0}>, pub PMU: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pmu::PMU::{constant#0}>, pub PWM1: Instance<RegisterBlock, 1>, pub PWM2: Instance<RegisterBlock, 2>, pub PWM3: Instance<RegisterBlock, 3>, pub PWM4: Instance<RegisterBlock, 4>, pub PXP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pxp::PXP::{constant#0}>, pub ROMC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::romc::ROMC::{constant#0}>, pub RTWDOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::rtwdog::RTWDOG::{constant#0}>, pub SAI1: Instance<RegisterBlock, 1>, pub SAI2: Instance<RegisterBlock, 2>, pub SAI3: Instance<RegisterBlock, 3>, pub SEMC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::semc::SEMC::{constant#0}>, pub SNVS: Instance<RegisterBlock, imxrt_ral::::imxrt1062::snvs::SNVS::{constant#0}>, pub SPDIF: Instance<RegisterBlock, imxrt_ral::::imxrt1062::spdif::SPDIF::{constant#0}>, pub SRC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::src::SRC::{constant#0}>, pub TEMPMON: Instance<RegisterBlock, imxrt_ral::::imxrt1062::tempmon::TEMPMON::{constant#0}>, pub TMR1: Instance<RegisterBlock, 1>, pub TMR2: Instance<RegisterBlock, 2>, pub TMR3: Instance<RegisterBlock, 3>, pub TMR4: Instance<RegisterBlock, 4>, pub TRNG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::trng::TRNG::{constant#0}>, pub TSC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::tsc::TSC::{constant#0}>, pub USB1: Instance<RegisterBlock, 1>, pub USB2: Instance<RegisterBlock, 2>, pub USB_ANALOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::usb_analog::USB_ANALOG::{constant#0}>, pub USBNC1: Instance<RegisterBlock, 1>, pub USBNC2: Instance<RegisterBlock, 2>, pub USBPHY1: Instance<RegisterBlock, 1>, pub USBPHY2: Instance<RegisterBlock, 2>, pub USDHC1: Instance<RegisterBlock, 1>, pub USDHC2: Instance<RegisterBlock, 2>, pub WDOG1: Instance<RegisterBlock, 1>, pub WDOG2: Instance<RegisterBlock, 2>, pub XBARA1: Instance<RegisterBlock, imxrt_ral::::imxrt1062::xbara1::XBARA1::{constant#0}>, pub XBARB2: Instance<RegisterBlock, 2>, pub XBARB3: Instance<RegisterBlock, 3>, pub XTALOSC24M: Instance<RegisterBlock, imxrt_ral::::imxrt1062::xtalosc24m::XTALOSC24M::{constant#0}>,
}
Expand description

Use instances() to safely acquire. 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: Instance<RegisterBlock, 1>§ADC2: Instance<RegisterBlock, 2>§ADC_ETC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::adc_etc::ADC_ETC::{constant#0}>§AIPSTZ1: Instance<RegisterBlock, 1>§AIPSTZ2: Instance<RegisterBlock, 2>§AIPSTZ3: Instance<RegisterBlock, 3>§AIPSTZ4: Instance<RegisterBlock, 4>§AOI1: Instance<RegisterBlock, 1>§AOI2: Instance<RegisterBlock, 2>§BEE: Instance<RegisterBlock, imxrt_ral::::imxrt1062::bee::BEE::{constant#0}>§CAN1: Instance<RegisterBlock, 1>§CAN2: Instance<RegisterBlock, 2>§CAN3: Instance<RegisterBlock, imxrt_ral::::imxrt1062::can3::CAN3::{constant#0}>§CCM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ccm::CCM::{constant#0}>§CCM_ANALOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ccm_analog::CCM_ANALOG::{constant#0}>§CMP1: Instance<RegisterBlock, 1>§CMP2: Instance<RegisterBlock, 2>§CMP3: Instance<RegisterBlock, 3>§CMP4: Instance<RegisterBlock, 4>§CSI: Instance<RegisterBlock, imxrt_ral::::imxrt1062::csi::CSI::{constant#0}>§CSU: Instance<RegisterBlock, imxrt_ral::::imxrt1062::csu::CSU::{constant#0}>§DCDC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dcdc::DCDC::{constant#0}>§DCP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dcp::DCP::{constant#0}>§DMA: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dma::DMA::{constant#0}>§DMAMUX: Instance<RegisterBlock, imxrt_ral::::imxrt1062::dmamux::DMAMUX::{constant#0}>§ENC1: Instance<RegisterBlock, 1>§ENC2: Instance<RegisterBlock, 2>§ENC3: Instance<RegisterBlock, 3>§ENC4: Instance<RegisterBlock, 4>§ENET1: Instance<RegisterBlock, 1>§ENET2: Instance<RegisterBlock, 2>§EWM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ewm::EWM::{constant#0}>§FLEXIO1: Instance<RegisterBlock, 1>§FLEXIO2: Instance<RegisterBlock, 2>§FLEXIO3: Instance<RegisterBlock, 3>§FLEXRAM: Instance<RegisterBlock, imxrt_ral::::imxrt1062::flexram::FLEXRAM::{constant#0}>§FLEXSPI1: Instance<RegisterBlock, 1>§FLEXSPI2: Instance<RegisterBlock, 2>§GPC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::gpc::GPC::{constant#0}>§GPIO1: Instance<RegisterBlock, 1>§GPIO5: Instance<RegisterBlock, 5>§GPIO2: Instance<RegisterBlock, 2>§GPIO3: Instance<RegisterBlock, 3>§GPIO4: Instance<RegisterBlock, 4>§GPIO6: Instance<RegisterBlock, 6>§GPIO7: Instance<RegisterBlock, 7>§GPIO8: Instance<RegisterBlock, 8>§GPIO9: Instance<RegisterBlock, 9>§GPT1: Instance<RegisterBlock, 1>§GPT2: Instance<RegisterBlock, 2>§IOMUXC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc::IOMUXC::{constant#0}>§IOMUXC_GPR: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_gpr::IOMUXC_GPR::{constant#0}>§IOMUXC_SNVS: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_snvs::IOMUXC_SNVS::{constant#0}>§IOMUXC_SNVS_GPR: Instance<RegisterBlock, imxrt_ral::::imxrt1062::iomuxc_snvs_gpr::IOMUXC_SNVS_GPR::{constant#0}>§KPP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::kpp::KPP::{constant#0}>§LCDIF: Instance<RegisterBlock, imxrt_ral::::imxrt1062::lcdif::LCDIF::{constant#0}>§LPI2C1: Instance<RegisterBlock, 1>§LPI2C2: Instance<RegisterBlock, 2>§LPI2C3: Instance<RegisterBlock, 3>§LPI2C4: Instance<RegisterBlock, 4>§LPSPI1: Instance<RegisterBlock, 1>§LPSPI2: Instance<RegisterBlock, 2>§LPSPI3: Instance<RegisterBlock, 3>§LPSPI4: Instance<RegisterBlock, 4>§LPUART1: Instance<RegisterBlock, 1>§LPUART2: Instance<RegisterBlock, 2>§LPUART3: Instance<RegisterBlock, 3>§LPUART4: Instance<RegisterBlock, 4>§LPUART5: Instance<RegisterBlock, 5>§LPUART6: Instance<RegisterBlock, 6>§LPUART7: Instance<RegisterBlock, 7>§LPUART8: Instance<RegisterBlock, 8>§OCOTP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::ocotp::OCOTP::{constant#0}>§PGC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pgc::PGC::{constant#0}>§PIT: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pit::PIT::{constant#0}>§PMU: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pmu::PMU::{constant#0}>§PWM1: Instance<RegisterBlock, 1>§PWM2: Instance<RegisterBlock, 2>§PWM3: Instance<RegisterBlock, 3>§PWM4: Instance<RegisterBlock, 4>§PXP: Instance<RegisterBlock, imxrt_ral::::imxrt1062::pxp::PXP::{constant#0}>§ROMC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::romc::ROMC::{constant#0}>§RTWDOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::rtwdog::RTWDOG::{constant#0}>§SAI1: Instance<RegisterBlock, 1>§SAI2: Instance<RegisterBlock, 2>§SAI3: Instance<RegisterBlock, 3>§SEMC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::semc::SEMC::{constant#0}>§SNVS: Instance<RegisterBlock, imxrt_ral::::imxrt1062::snvs::SNVS::{constant#0}>§SPDIF: Instance<RegisterBlock, imxrt_ral::::imxrt1062::spdif::SPDIF::{constant#0}>§SRC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::src::SRC::{constant#0}>§TEMPMON: Instance<RegisterBlock, imxrt_ral::::imxrt1062::tempmon::TEMPMON::{constant#0}>§TMR1: Instance<RegisterBlock, 1>§TMR2: Instance<RegisterBlock, 2>§TMR3: Instance<RegisterBlock, 3>§TMR4: Instance<RegisterBlock, 4>§TRNG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::trng::TRNG::{constant#0}>§TSC: Instance<RegisterBlock, imxrt_ral::::imxrt1062::tsc::TSC::{constant#0}>§USB1: Instance<RegisterBlock, 1>§USB2: Instance<RegisterBlock, 2>§USB_ANALOG: Instance<RegisterBlock, imxrt_ral::::imxrt1062::usb_analog::USB_ANALOG::{constant#0}>§USBNC1: Instance<RegisterBlock, 1>§USBNC2: Instance<RegisterBlock, 2>§USBPHY1: Instance<RegisterBlock, 1>§USBPHY2: Instance<RegisterBlock, 2>§USDHC1: Instance<RegisterBlock, 1>§USDHC2: Instance<RegisterBlock, 2>§WDOG1: Instance<RegisterBlock, 1>§WDOG2: Instance<RegisterBlock, 2>§XBARA1: Instance<RegisterBlock, imxrt_ral::::imxrt1062::xbara1::XBARA1::{constant#0}>§XBARB2: Instance<RegisterBlock, 2>§XBARB3: Instance<RegisterBlock, 3>§XTALOSC24M: Instance<RegisterBlock, imxrt_ral::::imxrt1062::xtalosc24m::XTALOSC24M::{constant#0}>

Implementations§

§

impl Instances

pub const unsafe fn instances() -> Instances

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.