123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceLightUp.h

Committer:
Diletant
Date:
2016-05-15
Revision:
161:efd949e8d536
Parent:
156:e68ee0bcdcda
Child:
167:bedc0a9d559a

File content as of revision 161:efd949e8d536:

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

#endif  /* __DEVICE_LIGHT_UP_H__ */