123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceLightUp.h

Committer:
Diletant
Date:
2016-05-09
Revision:
156:e68ee0bcdcda
Parent:
149:abbf7663d27d
Child:
161:efd949e8d536

File content as of revision 156:e68ee0bcdcda:

#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 DeviceStartLightUp(void);
void DeviceLightUpCycle(void);

#endif  /* __DEVICE_LIGHT_UP_H__ */