Expand description
Pad muxing and configurations.
This module re-exports select items from the imxrt-iomuxc
crate. When a chip feature is enabled, the module also exports
chip-specific items, like into_pads
. Use into_pads
to transform the imxrt-ral
instance(s)
into pad objects:
use imxrt_hal as hal;
use imxrt_ral as ral;
let iomuxc = unsafe { ral::iomuxc::IOMUXC::instance() };
let pads = hal::iomuxc::into_pads(iomuxc);
Pads
exposes all pads as individual, owned objects. Use configure
to specify any pad configurations. Then use the pad object(s) to construct your driver.
Modules§
- ADC pad configuration
- CCM pad configuration.
- Type-level constants and traits.
- FlexCAN pad configurations
- FlexIO pad configurations
- PWM pad configuration
- GPIO pad configuration
- I2C pad configuration
- SPI pad configurations
- UART pad configuration
- Pads for the i.MX RT 1060 processor family
- SAI / I2S pad configurations
- USDHC pad configuration
Structs§
- A configuration capable of compile-time,
const
configuration: - A daisy selection
- A pad that has its type erased
- An i.MXT RT pad
- An error that indicates the conversion from an
ErasedPad
to a strongly-typed pad failed.
Enums§
- Drive strength
- The hysteresis (HYS) bit controls whether a pin acts as a Schmitt trigger, which is a comparator remembering its last input state (hysteresis).
- Open Drain Enable Field
- Pull
Keep Deprecated Enable or disable the pull / keeper functionality - Pull
Keep Select Deprecated Control signal to enable internal pull-up/down resistors or pad keeper functionality. - The pull up, pull down, or keeper configuration.
- Pull
UpDown Deprecated Controls signals to select pull-up or pull-down internal resistance strength. - Slew Rate
- Sets electrical characteristics of a pin in a given frequency range
Functions§
- Set an alternate value for the pad
- Clear the SION bit in a pad’s MUX register
- Applies the configuration
config
for the supplied pad - Transform the
imxrt-ral
IOMUXC instance into pad objects. - Set the SION bit in a pad’s MUX register