Files
OpenCellular/include/pwm_commands.h
Vic Yang e98b6befca Add EC host command to control fan speed.
Add LPC host command to get and set fan speed.

BUG=chrome-os-partner:7313
TEST=Connect a fan and manually test fan actual speed matches target
speed.

Change-Id: I4b6a711a1b8cca0dbd1c1936fe4f0f15240d3453
2011-12-27 10:14:29 +08:00

20 lines
514 B
C

/* 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.
*/
/* PWM commands for Chrome EC */
#ifndef __CROS_EC_PWM_COMMANDS_H
#define __CROS_EC_PWM_COMMANDS_H
#include "common.h"
#include "lpc_commands.h"
/* Host command handlers. */
enum lpc_status pwm_command_get_fan_rpm(uint8_t *data);
enum lpc_status pwm_command_set_fan_target_rpm(uint8_t *data);
#endif /* __CROS_EC_PWM_COMMANDS_H */