Module imxrt_iomuxc::prelude [−][src]
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 = "imxrt106x")]
pub use imxrt_iomuxc::imxrt106x::*;
}
Re-exports
pub use crate::consts;
pub use crate::gpio;
pub use crate::i2c;
pub use crate::pwm;
pub use crate::spi;
pub use crate::uart;
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
Enable or disable the pull / keeper functionality
Control signal to enable internal pull-up/down resistors or pad keeper functionality.
The pull up, pull down, or keeper configuration.
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
Applies the configuration config
for the supplied pad