pub type T40Resources = Resources<Pins>;
Expand description
Resources for a Teensy 4.0.
Use t40
to construct this. The pins are specific to the Teensy 4.0.
Aliased Type§
struct T40Resources {Show 38 fields
pub pit: (Pit<0>, Pit<1>, Pit<2>, Pit<3>),
pub gpt1: Gpt<1>,
pub gpt2: Gpt<2>,
pub gpio1: Port<1>,
pub gpio2: Port<2>,
pub gpio3: Port<3>,
pub gpio4: Port<4>,
pub usb: Instances<1>,
pub dma: [Option<Channel>; 32],
pub srtc: Disabled,
pub snvs_lp_core: Instance<RegisterBlock>,
pub ccm: Instance<RegisterBlock, 0>,
pub ccm_analog: Instance<RegisterBlock, 0>,
pub dcdc: Instance<RegisterBlock, 0>,
pub pins: Pins,
pub lpi2c1: Instance<RegisterBlock, 1>,
pub lpi2c3: Instance<RegisterBlock, 3>,
pub lpspi1: Instance<RegisterBlock, 1>,
pub lpspi2: Instance<RegisterBlock, 2>,
pub lpspi3: Instance<RegisterBlock, 3>,
pub lpspi4: Instance<RegisterBlock, 4>,
pub lpuart6: Instance<RegisterBlock, 6>,
pub lpuart4: Instance<RegisterBlock, 4>,
pub lpuart2: Instance<RegisterBlock, 2>,
pub lpuart3: Instance<RegisterBlock, 3>,
pub lpuart8: Instance<RegisterBlock, 8>,
pub lpuart1: Instance<RegisterBlock, 1>,
pub flexpwm1: (Pwm<1>, (Submodule<1, 0>, Submodule<1, 1>, Submodule<1, 2>, Submodule<1, 3>)),
pub flexpwm2: (Pwm<2>, (Submodule<2, 0>, Submodule<2, 1>, Submodule<2, 2>, Submodule<2, 3>)),
pub flexpwm3: (Pwm<3>, (Submodule<3, 0>, Submodule<3, 1>, Submodule<3, 2>, Submodule<3, 3>)),
pub flexpwm4: (Pwm<4>, (Submodule<4, 0>, Submodule<4, 1>, Submodule<4, 2>, Submodule<4, 3>)),
pub flexio1: Instance<RegisterBlock, 1>,
pub flexio2: Instance<RegisterBlock, 2>,
pub flexio3: Instance<RegisterBlock, 3>,
pub adc1: Adc<1>,
pub adc2: Adc<2>,
pub trng: Trng,
pub tempmon: TempMon,
}
Fields§
§pit: (Pit<0>, Pit<1>, Pit<2>, Pit<3>)
Periodic interrupt timer channels.
gpt1: Gpt<1>
General purpose timer 1.
gpt2: Gpt<2>
General purpose timer 2.
gpio1: Port<1>
GPIO1 port.
gpio2: Port<2>
GPIO2 port.
gpio3: Port<3>
GPIO3 port.
gpio4: Port<4>
GPIO4 port.
usb: Instances<1>
USB1 instances.
Use this to construct higher-level USB drivers, or to initialize the USB logger.
dma: [Option<Channel>; 32]
DMA channels.
srtc: Disabled
The secure real-time counter.
It’s initially disabled, and you may enable it in your firmware.
snvs_lp_core: Instance<RegisterBlock>
Core registers for the SNVS low-power domain.
Use this with the SRTC and other SNVS LP components.
ccm: Instance<RegisterBlock, 0>
Clock control module.
ccm_analog: Instance<RegisterBlock, 0>
Analog clock control module.
dcdc: Instance<RegisterBlock, 0>
DCDC converter
pins: Pins
All available pins.
lpi2c1: Instance<RegisterBlock, 1>
The register block for Lpi2c1
.
lpi2c3: Instance<RegisterBlock, 3>
The register block for Lpi2c3
.
lpspi1: Instance<RegisterBlock, 1>
The register blocks for Lpspi1
.
lpspi2: Instance<RegisterBlock, 2>
The register blocks for Lpspi2
.
lpspi3: Instance<RegisterBlock, 3>
The register blocks for Lpspi3
.
lpspi4: Instance<RegisterBlock, 4>
The register block for Lpspi4
.
lpuart6: Instance<RegisterBlock, 6>
The register block for Lpuart6
.
lpuart4: Instance<RegisterBlock, 4>
The register block for Lpuart4
.
lpuart2: Instance<RegisterBlock, 2>
The register block for Lpuart2
.
lpuart3: Instance<RegisterBlock, 3>
The register block for Lpuart3
.
lpuart8: Instance<RegisterBlock, 8>
The register block for Lpuart8
.
lpuart1: Instance<RegisterBlock, 1>
The register block for Lpuart1
.
flexpwm1: (Pwm<1>, (Submodule<1, 0>, Submodule<1, 1>, Submodule<1, 2>, Submodule<1, 3>))
FlexPWM1 components.
flexpwm2: (Pwm<2>, (Submodule<2, 0>, Submodule<2, 1>, Submodule<2, 2>, Submodule<2, 3>))
FlexPWM2 components.
flexpwm3: (Pwm<3>, (Submodule<3, 0>, Submodule<3, 1>, Submodule<3, 2>, Submodule<3, 3>))
FlexPWM3 components.
flexpwm4: (Pwm<4>, (Submodule<4, 0>, Submodule<4, 1>, Submodule<4, 2>, Submodule<4, 3>))
FlexPWM4 components.
flexio1: Instance<RegisterBlock, 1>
The FlexIO1 register block.
flexio2: Instance<RegisterBlock, 2>
The FlexIO2 register block.
flexio3: Instance<RegisterBlock, 3>
The FlexIO3 register block.
adc1: Adc<1>
The register block for ADC1.
ADC drivers constructed by board
use a pre-configured clock and divisor. To change
this configuration, call release()
to acquire the register block, then re-construct
the driver.
adc2: Adc<2>
The register block for ADC2.
trng: Trng
True random number generator.
tempmon: TempMon
Temperature monitor of the core.