diff options
author | Oxore <oxore@protonmail.com> | 2023-03-05 20:20:45 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2023-03-05 20:20:45 +0300 |
commit | ea807de65b0485ac58b6eae576209c64d4d5c4e9 (patch) | |
tree | b4264d20e1d700cfd9e0ece9d847a825dd1dfc03 /app/ltimers/ltimers.h | |
parent | dd01e7ed22cea652061f0d12cecf929e04b285e9 (diff) |
Split app code and third party libraries
Diffstat (limited to 'app/ltimers/ltimers.h')
-rw-r--r-- | app/ltimers/ltimers.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/ltimers/ltimers.h b/app/ltimers/ltimers.h new file mode 100644 index 0000000..4514841 --- /dev/null +++ b/app/ltimers/ltimers.h @@ -0,0 +1,29 @@ +#ifndef LTIMERS_H_INCLUDED +#define LTIMERS_H_INCLUDED + +#include <stdint.h> + +// Имена таймеров LTIMER_<TIMERNAME> ---------------------------------------- // +typedef enum { + + LTIMER_SENSE_PAD = 0, + LTIMER_PRGBAR_SPEED, + LTIMER_HL_CHANGE_BRIGHT_SPEED, + LTIMER_HL_BUT_LED, + LTIMER_BUTTON_LONG_PRESS, + LTIMER_INDIC_MODE_BLINK_OFF, + LTIMER_INDIC_MODE_BLINK_ON, + LTIMER_MENU_ADJ_TIME_OUT, + LTIMER_LIGHT_SENSOR, + LTIMER_SENSOR_BUT_DEBOUNCE, + + MAX_LTIMERS + +} LTimersNames_t; + +void InitLTimers ( void ); +void ProcessLTimers ( void ); +uint32_t GetLTimer ( LTimersNames_t LTIMER ); +void StartLTimer ( LTimersNames_t LTIMER ); + +#endif // LTIMERS_H_INCLUDED |