Function imxrt_hal::iomuxc::alternate

source ·
pub fn alternate<I>(pad: &mut I, alt: u32)
where I: Iomuxc,
Expand description

Set an alternate value for the pad

Users who are using strongly-typed pads should not call alternate() directly. Instead, alternate() will be used in a peripheral’s prepare() function as needed, so that you don’t have to call it.

However, you should use alternate() if you’re using any type-erased pads, since those pads cannot be used with a peripheral’s prepare() function.