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
27 lines
423 B
#pragma once
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
typedef enum {
|
|
level_low,
|
|
level_high,
|
|
} ozone_level_t;
|
|
|
|
typedef enum {
|
|
normal,
|
|
timingMode,
|
|
intermittentMode,
|
|
} ozone_module_t;
|
|
|
|
typedef struct {
|
|
bool power;
|
|
ozone_level_t ozone_level;
|
|
ozone_module_t ozone_module;
|
|
|
|
bool configuration_mode;
|
|
uint32_t configuration_start_time;
|
|
|
|
uint8_t time_led_num;
|
|
uint32_t time_led_start_time;
|
|
|
|
} ThisDevice_t;
|