Function esp_idf_sys::esp_rom_gpio_connect_out_signal

source ·
pub unsafe extern "C" fn esp_rom_gpio_connect_out_signal(
    gpio_num: u32,
    signal_idx: u32,
    out_inv: bool,
    oen_inv: bool,
)
Expand description

@brief Combine a peripheral signal which tagged as output attribute with a GPIO.

@note There’s no limitation on the number of signals that a GPIO can combine with.

@param gpio_num GPIO number @param signal_idx Peripheral signal index (tagged as output attribute). Particularly, SIG_GPIO_OUT_IDX means disconnect GPIO and other peripherals. Only the GPIO driver can control the output level. @param out_inv Whether to signal to be inverted or not @param oen_inv Whether the output enable control is inverted or not