// // Created by cfif on 11.10.23. // #ifndef ERA_ELEMENT_2_INDICATION_H #define ERA_ELEMENT_2_INDICATION_H #include #include typedef enum { HVAC_DEV_MODE_STARTUP = 0, HVAC_DEV_MODE_RUN = 1 } eHvacDevModes; typedef struct { eHvacDevModes mode; tStringLink currentModeName; uint16_t tick; struct { osThreadId_t id; uint32_t stack[128]; StaticTask_t controlBlock; osThreadAttr_t attr; } thread; } tIndication; void Indication_Init(tIndication *env, eHvacDevModes initMode); void Indication_SetMode(tIndication *env, eHvacDevModes mode); void Indication_StartThread(tIndication *env); void Indication_StopThread(tIndication *env); #endif //ERA_ELEMENT_2_INDICATION_H