Files
OpenCellular/include/lightbar.h
Bill Richardson b4ac7cf558 Clean up lightbar msg command parsing, add some help.
BUG=none
TEST=none

Change-Id: I5767bd45bd66793606014b3ce8020d0eb2e17090
Signed-off-by: Bill Richardson <wfrichar@chromium.org>
2012-04-25 09:30:20 -07:00

23 lines
640 B
C

/* Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/* Ask the EC to set the lightbar state to reflect the CPU activity */
#ifndef __CROS_EC_LIGHTBAR_H
#define __CROS_EC_LIGHTBAR_H
/* Define the types of sequences */
#define LBMSG(state) LIGHTBAR_##state,
#include "lightbar_msg_list.h"
enum lightbar_sequence {
LIGHTBAR_MSG_LIST
LIGHTBAR_NUM_SEQUENCES
};
#undef LBMSG
/* Request a preset sequence from the lightbar task. */
void lightbar_sequence(enum lightbar_sequence s);
#endif /* __CROS_EC_LIGHTBAR_H */