Function esp_idf_svc::hal::sys::esp_rom_gpio_connect_in_signal

source ·
pub unsafe extern "C" fn esp_rom_gpio_connect_in_signal(
    gpio_num: u32,
    signal_idx: u32,
    inv: bool,
)
Expand description

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

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

@param gpio_num GPIO number, especially, GPIO_MATRIX_CONST_ZERO_INPUT means connect logic 0 to signal GPIO_MATRIX_CONST_ONE_INPUT means connect logic 1 to signal @param signal_idx Peripheral signal index (tagged as input attribute) @param inv Whether the GPIO input to be inverted or not