Function esp_idf_sys::rtc_gpio_get_level
source ยท pub unsafe extern "C" fn rtc_gpio_get_level(
gpio_num: gpio_num_t,
) -> u32
Expand description
@brief Get the RTC IO input level
@param gpio_num GPIO number (e.g. GPIO_NUM_12)
@return - 1 High level - 0 Low level - ESP_ERR_INVALID_ARG GPIO is not an RTC IO