123

Dependencies:   mbed

Fork of LG by igor Apu

Committer:
Diletant
Date:
Sun Jun 05 11:03:33 2016 +0000
Revision:
167:bedc0a9d559a
Parent:
161:efd949e8d536
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 167:bedc0a9d559a 18 void InitLightUpDefaultSettings(void);
Diletant 167:bedc0a9d559a 19 void InitLightUpState(void);
Diletant 156:e68ee0bcdcda 20 void DeviceStartLightUp(void);
Diletant 167:bedc0a9d559a 21
Diletant 161:efd949e8d536 22 void DeviceLightUpDoCycle(void);
Diletant 149:abbf7663d27d 23
Diletant 149:abbf7663d27d 24 #endif /* __DEVICE_LIGHT_UP_H__ */