user_interface.h 570 B

1234567891011121314151617181920212223
  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_64M_MAP = 8,
  8. FLASH_SIZE_128M_MAP = 9
  9. };
  10. //force sleep API
  11. #define FPM_SLEEP_MAX_TIME 268435455 //0xFFFFFFF
  12. void wifi_fpm_set_wakeup_cb(void (*fpm_wakeup_cb_func)(void));
  13. bool fpm_is_open(void);
  14. bool fpm_rf_is_closed(void);
  15. uint8 get_fpm_auto_sleep_flag(void);
  16. #endif /* SDK_OVERRIDES_INCLUDE_USER_INTERFACE_H_ */