mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-24 02:28:21 +08:00
feat(sleep): add function set CPU sleep mode
This commit is contained in:
@ -26,6 +26,11 @@ typedef enum {
|
||||
WIFI_MODEM_SLEEP_T
|
||||
} wifi_sleep_type_t;
|
||||
|
||||
typedef enum esp_sleep_mode {
|
||||
ESP_CPU_WAIT = 0,
|
||||
ESP_CPU_LIGHTSLEEP,
|
||||
} esp_sleep_mode_t;
|
||||
|
||||
typedef void (*fpm_wakeup_cb)(void);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user