Macro define_io_mux_reg

Source
macro_rules! define_io_mux_reg {
    () => { ... };
}
Available on crate feature _device-selected only.
Expand description

Defines and implements the io_mux_reg function.

The generated function has the following signature:

pub(crate) fn io_mux_reg(gpio_num: u8) -> &'static crate::pac::io_mux::GPIO0 {
    // ...
}

This macro is intended to be called in esp-hal only.