Function imxrt_hal::iomuxc::lpuart::prepare

source ·
pub fn prepare<P>(pin: &mut P)
where P: Pin,
Expand description

Prepare a UART pin

If you do not call prepare() on your UART pin, it might not work as a UART pin.

Safety

prepare() inherits all the unsafety that comes from the IOMUX supertrait. In particular, we cannot be sure that the implementation’s pointers are correct. It may also write a daisy configuration that’s incorrect.