Function esp_idf_sys::rtc_gpio_pulldown_en

source ยท
pub unsafe extern "C" fn rtc_gpio_pulldown_en(
    gpio_num: gpio_num_t,
) -> esp_err_t
Expand description

@brief RTC GPIO pulldown enable

This function only works for RTC IOs. In general, call gpio_pulldown_en, which will work both for normal GPIOs and RTC IOs.

@param gpio_num GPIO number (e.g. GPIO_NUM_12)

@return - ESP_OK Success - ESP_ERR_INVALID_ARG GPIO is not an RTC IO