main.h 356 B

123456789101112131415161718192021222324
  1. /*!
  2. \file main.c
  3. \brief the header file of the main
  4. */
  5. /*
  6. Copyright (C) 2017 GigaDevice
  7. 2017-06-06, V1.0.0, firmware for GD32F3x0
  8. */
  9. #ifndef MAIN_H
  10. #define MAIN_H
  11. typedef enum
  12. {
  13. STATE_OVER_THRESHOLD ,
  14. STATE_WITHIN_THRESHOLD,
  15. STATE_UNDER_THRESHOLD
  16. } cmp_state_enum;
  17. cmp_state_enum check_state(void);
  18. #endif /* MAIN_H */