Module imxrt_iomuxc::prelude[][src]

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

Config

A configuration capable of compile-time, const configuration:

Enums

DriveStrength

Drive strength

Hysteresis

The hysteresis (HYS) bit controls whether a pin acts as a Schmitt trigger, which is a comparator remembering its last input state (hysteresis).

OpenDrain

Open Drain Enable Field

PullKeep

Enable or disable the pull / keeper functionality

PullKeepSelect

Control signal to enable internal pull-up/down resistors or pad keeper functionality.

PullUpDown

Controls signals to select pull-up or pull-down internal resistance strength.

SlewRate

Slew Rate

Speed

Sets electrical characteristics of a pin in a given frequency range

Functions

configure

Applies the configuration config for the supplied pad