Module imxrt_iomuxc::prelude
source · Expand description
Re-export of top-level components, without the chip-specific modules.
prelude
is to help HAL implementors re-export the imxrt-iomuxc
APIs
as a single module.
// Your crate's module:
pub mod iomuxc {
// Re-export common modules and types
pub use imxrt_iomuxc::prelude::*;
// Conditionally re-export chip-specific pads
#[cfg(feature = "imxrt1060")]
pub use imxrt_iomuxc::imxrt1060::*;
}
Re-exports§
pub use crate::adc;
pub use crate::alternate;
pub use crate::ccm;
pub use crate::clear_sion;
pub use crate::consts;
pub use crate::flexcan;
pub use crate::flexio;
pub use crate::flexpwm;
pub use crate::gpio;
pub use crate::lpi2c;
pub use crate::lpspi;
pub use crate::lpuart;
pub use crate::sai;
pub use crate::set_sion;
pub use crate::usdhc;
pub use crate::Daisy;
pub use crate::ErasedPad;
pub use crate::Pad;
pub use crate::WrongPadError;
Structs§
- A configuration capable of compile-time,
const
configuration:
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
- PullKeepDeprecatedEnable or disable the pull / keeper functionality
- PullKeepSelectDeprecatedControl signal to enable internal pull-up/down resistors or pad keeper functionality.
- The pull up, pull down, or keeper configuration.
- PullUpDownDeprecatedControls 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§
- Applies the configuration
config
for the supplied pad