pub unsafe extern "C" fn gpio_set_intr_type(
    gpio_num: i32,
    intr_type: u32
) -> i32
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