You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

suspend.h 331B

123456789101112131415161718
  1. #ifndef SUSPEND_H
  2. #define SUSPEND_H
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. void suspend_idle(uint8_t timeout);
  6. void suspend_power_down(void);
  7. bool suspend_wakeup_condition(void);
  8. void suspend_wakeup_init(void);
  9. #ifdef SUSPEND_ACTION
  10. void suspend_power_down_action(void);
  11. void suspend_wakeup_init_action(void);
  12. #endif
  13. #endif