123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceLightUp.h

Committer:
Diletant
Date:
2016-05-03
Revision:
149:abbf7663d27d
Child:
156:e68ee0bcdcda

File content as of revision 149:abbf7663d27d:

#ifndef __DEVICE_LIGHT_UP_H__
#define __DEVICE_LIGHT_UP_H__

typedef struct _DeviceLightUpSettings {
  uint32_t sequence;
} DeviceLightUpSettings;

typedef struct _DeviceLightUpState {
  uint32_t sequence;
  uint8_t enabled;
} DeviceLightUpState;

typedef struct _DeviceLightUp {
  DeviceLightUpSettings settings;
  DeviceLightUpState state;
} DeviceLightUp;

void InitLightUpWithDefaults(void);
void InitLightUp(void);
void StartLightUp(void);
void LightUpCycle(void);

#endif  /* __DEVICE_LIGHT_UP_H__ */