summaryrefslogtreecommitdiff
path: root/app/ltimers/ltimers.h
diff options
context:
space:
mode:
Diffstat (limited to 'app/ltimers/ltimers.h')
-rw-r--r--app/ltimers/ltimers.h29
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