pub unsafe extern "C" fn gpio_set_intr_type(
    gpio_num: gpio_num_t,
    intr_type: gpio_int_type_t
) -> esp_err_t
Expand description

@brief GPIO set interrupt trigger type

@param gpio_num GPIO number. If you want to set the trigger type of e.g. of GPIO16, gpio_num should be GPIO_NUM_16 (16); @param intr_type Interrupt type, select from gpio_int_type_t

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error