123

Dependencies:   mbed

Fork of LG by igor Apu

DeviceLightUp.h

Committer:
Diletant
Date:
2016-06-05
Revision:
167:bedc0a9d559a
Parent:
161:efd949e8d536

File content as of revision 167:bedc0a9d559a:

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

void DeviceLightUpDoCycle(void);

#endif  /* __DEVICE_LIGHT_UP_H__ */