[][src]Function esp_idf_sys::gpio_intr_enable

pub unsafe extern "C" fn gpio_intr_enable(gpio_num: gpio_num_t) -> esp_err_t

@brief Enable GPIO module interrupt signal

@note Please do not use the interrupt of GPIO36 and GPIO39 when using ADC. Please refer to the comments of adc1_get_raw. Please refer to section 3.11 of 'ECO_and_Workarounds_for_Bugs_in_ESP32' for the description of this issue.

@param gpio_num GPIO number. If you want to enable an interrupt on e.g. GPIO16, gpio_num should be GPIO_NUM_16 (16);

@return - ESP_OK Success - ESP_ERR_INVALID_ARG Parameter error