hal_state.h 387 B

123456789101112131415161718192021222324252627
  1. #ifndef __hal_state_H__
  2. #define __hal_state_H__
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <string.h>
  6. #include "sdk_common.h"
  7. #include "SEGGER_RTT.h"
  8. #include "usr_config.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. typedef enum {
  16. LOWPOER_MODE = 0,
  17. GAME_MODE,
  18. Realstep_MODE
  19. }shoes_;
  20. void hal_setstate(uint8_t value);
  21. #endif /* __DF_H */