docs: Update punctuation and syntax error for esp_err_tesp_sleep_enable_ext1_wakeup

This commit is contained in:
Shang Zhou
2021-11-11 17:25:45 +08:00
parent 44df880c12
commit 1669504614

View File

@@ -207,13 +207,13 @@ esp_err_t esp_sleep_enable_ext0_wakeup(gpio_num_t gpio_num, int level);
* configured in esp_sleep_start, immediately before * configured in esp_sleep_start, immediately before
* entering sleep mode. * entering sleep mode.
* *
* @note internal pullups and pulldowns don't work when RTC peripherals are * @note Internal pullups and pulldowns don't work when RTC peripherals are
* shut down. In this case, external resistors need to be added. * shut down. In this case, external resistors need to be added.
* Alternatively, RTC peripherals (and pullups/pulldowns) may be * Alternatively, RTC peripherals (and pullups/pulldowns) may be
* kept enabled using esp_sleep_pd_config function. * kept enabled using esp_sleep_pd_config function.
* *
* @param mask bit mask of GPIO numbers which will cause wakeup. Only GPIOs * @param mask bit mask of GPIO numbers which will cause wakeup. Only GPIOs
* which are have RTC functionality can be used in this bit map: * which have RTC functionality can be used in this bit map:
* 0,2,4,12-15,25-27,32-39. * 0,2,4,12-15,25-27,32-39.
* @param mode select logic function used to determine wakeup condition: * @param mode select logic function used to determine wakeup condition:
* - ESP_EXT1_WAKEUP_ALL_LOW: wake up when all selected GPIOs are low * - ESP_EXT1_WAKEUP_ALL_LOW: wake up when all selected GPIOs are low
@@ -231,7 +231,7 @@ esp_err_t esp_sleep_enable_ext1_wakeup(uint64_t mask, esp_sleep_ext1_wakeup_mode
/** /**
* @brief Enable wakeup using specific gpio pins * @brief Enable wakeup using specific gpio pins
* *
* This function enables an IO pin to wake the chip from deep sleep * This function enables an IO pin to wake up the chip from deep sleep.
* *
* @note This function does not modify pin configuration. The pins are * @note This function does not modify pin configuration. The pins are
* configured in esp_sleep_start, immediately before * configured in esp_sleep_start, immediately before