blob: 1bfafbdd2c3e57d948705fdc74d4bcbb3ad15733 [file] [log] [blame]
/* Copyright 2013 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.
/* Backlight API for Chrome EC */
#include "common.h"
#include "gpio.h"
* Interrupt handler for backlight.
* @param signal Signal which triggered the interrupt.
void backlight_interrupt(enum gpio_signal signal);
static inline void backlight_interrupt(enum gpio_signal signal) { }
* Activate/Deactivate the backlight GPIO pin considering active high or low.
void enable_backlight(int enabled);
#endif /* __CROS_EC_BACKLIGHT_H */