no-OS
Loading...
Searching...
No Matches
iio_lm75.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef __IIO_LM75_H__
34#define __IIO_LM75_H__
35#include "lm75.h"
36#include "iio_types.h"
37
38#define LM75_UPDATE_INTERVAL 100
39
40#define LM75_CH_ATTRIBUTE_INPUT 0
41#define LM75_CH_ATTRIBUTE_MAX 1
42#define LM75_CH_ATTRIBUTE_HYST 2
43
44struct iio_lm75 {
45 struct lm75_dev *lm75;
47};
48
49int iio_lm75_init(struct iio_lm75 **iio_lm75pp,
50 struct lm75_dev *dev);
52
53#endif /* __IIO_LM75_H__ */
int iio_lm75_init(struct iio_lm75 **iio_lm75pp, struct lm75_dev *dev)
Allocate and initialize resources used by LM75 IIO driver.
Definition iio_lm75.c:235
int iio_lm75_remove(struct iio_lm75 *iio_lm75)
Release resources used by LM75 IIO driver back to system.
Definition iio_lm75.c:273
Header file for iio_types.
Header file of LM75 Driver.
Structure holding channels and attributes of a device.
Definition iio_types.h:239
Definition iio_lm75.h:44
struct iio_device iio_dev
Definition iio_lm75.h:46
struct lm75_dev * lm75
Definition iio_lm75.h:45
Definition lm75.h:89