Function imxrt_iomuxc::alternate[][src]

pub fn alternate<I: IOMUX>(pad: &mut I, alt: u32)

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.