#pragma once #ifndef EVENT_LIST_H #define EVENT_LIST_H /* коды событий */ typedef enum { eventNull = 0x00, evRTCinterrupt, evButton1Pressed, evButton2Pressed, evButtonAllPressed, evButton1Holded, evButton2Holded, evButtonAllHolded, evMenuWDT } es_event_t; /* коды состояний */ typedef enum { stNoChange = 0x00, // end stLastState } es_state_t; #ifndef NULL #define NULL ((void*)0) #endif #endif //EVENT_LIST_H