user_interface.h 730 B

123456789101112131415161718192021222324252627
  1. #ifndef SDK_OVERRIDES_INCLUDE_USER_INTERFACE_H_
  2. #define SDK_OVERRIDES_INCLUDE_USER_INTERFACE_H_
  3. #include_next "user_interface.h"
  4. bool wifi_softap_deauth(uint8 mac[6]);
  5. uint8 get_fpm_auto_sleep_flag(void);
  6. enum ext_flash_size_map {
  7. FLASH_SIZE_32M_MAP_2048_2048 = 7,
  8. FLASH_SIZE_64M_MAP = 8,
  9. FLASH_SIZE_128M_MAP = 9
  10. };
  11. // Documented in section 4.5 of 9b-esp8266_low_power_solutions_en.pdf
  12. void system_deep_sleep_instant(uint32 time_in_us);
  13. //force sleep API
  14. #define FPM_SLEEP_MAX_TIME 268435455 //0xFFFFFFF
  15. void wifi_fpm_set_wakeup_cb(void (*fpm_wakeup_cb_func)(void));
  16. bool fpm_is_open(void);
  17. bool fpm_rf_is_closed(void);
  18. uint8 get_fpm_auto_sleep_flag(void);
  19. #endif /* SDK_OVERRIDES_INCLUDE_USER_INTERFACE_H_ */