Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By clinkme
#6010 Hi,
Are there any sleep modes of the chip, when the wi-fi is off, but the GPIO pins are active?
For example, the chip is in that sleep mode and wakes up on pin interrupt
(for example, from button or other external circuit)?

I know about the so called deep sleep mode, but it is not suitable because the chip in deep sleep
cannot handle its GPIOs (except one internal RTC pin).

And, Happy New Year!
User avatar
By reaper7
#6011 from SDK 0.9.4

part of user_interface.h
Code: Select allenum sleep_type {
   NONE_SLEEP_T   = 0,
   LIGHT_SLEEP_T,
   MODEM_SLEEP_T
};

bool wifi_set_sleep_type(enum sleep_type type);
enum sleep_type wifi_get_sleep_type(void);


http://bbs.espressif.com/viewtopic.php? ... EEP_T#p303