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.

27 lines
423 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. #pragma once
  2. #include <stdbool.h>
  3. #include <stdint.h>
  4. typedef enum {
  5. level_low,
  6. level_high,
  7. } ozone_level_t;
  8. typedef enum {
  9. normal,
  10. timingMode,
  11. intermittentMode,
  12. } ozone_module_t;
  13. typedef struct {
  14. bool power;
  15. ozone_level_t ozone_level;
  16. ozone_module_t ozone_module;
  17. bool configuration_mode;
  18. uint32_t configuration_start_time;
  19. uint8_t time_led_num;
  20. uint32_t time_led_start_time;
  21. } ThisDevice_t;