resolve merge conflict
[wakeup.git] / src / pwm.h
1 /*
2  *   Interface definition for the PWM generator.
3  *   The actual data is stored in shared memory which is read by the PWM generator.
4  */
5
6 /*  Output identifiers are indices in the array of file descriptors.  */
7
8 #define LED_RED      0
9 #define LED_GREEN    1
10 #define LED_BLUE     2
11 #define LED_WHITE    3
12
13 struct pwm
14 {
15    int interval;
16    int output;
17 };
18
19
20 /*  The key to identify the shared memory  */
21
22 #define SHM_KEY   0x5678