blob: 867733d2db00472a4f9ea6237109d9d362e2e464 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* 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.
*/
/* Temperature sensor module for LM4 chip */
#ifndef __CROS_EC_CHIP_TEMP_SENSOR_H
#define __CROS_EC_CHIP_TEMP_SENSOR_H
struct temp_sensor_t;
/* Temperature polling function. */
int chip_temp_sensor_poll(void);
/* Temperature reading function. Return temperature in K. */
int chip_temp_sensor_get_val(int idx);
#endif /* __CROS_EC_CHIP_TEMP_SENSOR_H */
|