cmd_system.h 664 B

1234567891011121314151617181920212223242526
  1. /* Console example — various system commands
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #pragma once
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. // Register all system functions
  12. void register_system(void);
  13. // Register common system functions: "version", "restart", "free", "heap", "tasks"
  14. void register_system_common(void);
  15. // Register deep and light sleep functions
  16. void register_system_sleep(void);
  17. #ifdef __cplusplus
  18. }
  19. #endif