blob: b51661a252070c2568a9d6bd489714fc291a47e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* Copyright (c) 2011 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.
*
* keyboard_backlight.h - Keyboard backlight
*/
#ifndef __CHIP_INTERFACE_KEYBOARD_BACKLIGHT_H
#define __CHIP_INTERFACE_KEYBOARD_BACKLIGHT_H
/*
* The lightness value in this interface:
*
* 0 - off
* 255 - full
* others - undefined
*/
/* Configure PWM port and set the initial backlight value. */
EcError EcKeyboardBacklightInit(uint16_t init_lightness);
/* Set the mapped PWM value */
EcError EcKeyboardBacklightSet(uint16_t lightness);
#endif /* __CHIP_INTERFACE_KEYBOARD_BACKLIGHT_H */
|