123

Dependencies:   mbed

Fork of LG by igor Apu

Committer:
Diletant
Date:
Tue May 03 05:12:26 2016 +0000
Revision:
149:abbf7663d27d
Child:
156:e68ee0bcdcda
Device & ... update. Not final!!!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Diletant 149:abbf7663d27d 1 #ifndef __DEVICE_LIGHT_UP_H__
Diletant 149:abbf7663d27d 2 #define __DEVICE_LIGHT_UP_H__
Diletant 149:abbf7663d27d 3
Diletant 149:abbf7663d27d 4 typedef struct _DeviceLightUpSettings {
Diletant 149:abbf7663d27d 5 uint32_t sequence;
Diletant 149:abbf7663d27d 6 } DeviceLightUpSettings;
Diletant 149:abbf7663d27d 7
Diletant 149:abbf7663d27d 8 typedef struct _DeviceLightUpState {
Diletant 149:abbf7663d27d 9 uint32_t sequence;
Diletant 149:abbf7663d27d 10 uint8_t enabled;
Diletant 149:abbf7663d27d 11 } DeviceLightUpState;
Diletant 149:abbf7663d27d 12
Diletant 149:abbf7663d27d 13 typedef struct _DeviceLightUp {
Diletant 149:abbf7663d27d 14 DeviceLightUpSettings settings;
Diletant 149:abbf7663d27d 15 DeviceLightUpState state;
Diletant 149:abbf7663d27d 16 } DeviceLightUp;
Diletant 149:abbf7663d27d 17
Diletant 149:abbf7663d27d 18 void InitLightUpWithDefaults(void);
Diletant 149:abbf7663d27d 19 void InitLightUp(void);
Diletant 149:abbf7663d27d 20 void StartLightUp(void);
Diletant 149:abbf7663d27d 21 void LightUpCycle(void);
Diletant 149:abbf7663d27d 22
Diletant 149:abbf7663d27d 23 #endif /* __DEVICE_LIGHT_UP_H__ */