#include <linux/interrupt.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/events.h>
Go to the source code of this file.
#define AD7150_CFG_FIX (1 << 7) |
#define AD7150_CH1_AVG_HIGH 5 |
#define AD7150_CH1_CAPDAC 17 |
#define AD7150_CH1_DATA_HIGH 1 |
#define AD7150_CH1_SENSITIVITY 9 |
#define AD7150_CH1_SETUP 11 |
#define AD7150_CH1_THR_HOLD_H 9 |
#define AD7150_CH1_TIMEOUT 10 |
#define AD7150_CH2_AVG_HIGH 7 |
#define AD7150_CH2_CAPDAC 18 |
#define AD7150_CH2_DATA_HIGH 3 |
#define AD7150_CH2_SENSITIVITY 12 |
#define AD7150_CH2_SETUP 14 |
#define AD7150_CH2_THR_HOLD_H 12 |
#define AD7150_CH2_TIMEOUT 13 |
#define AD7150_PD_TIMER 16 |
#define AD7150_STATUS_OUT1 (1 << 3) |
#define AD7150_STATUS_OUT2 (1 << 5) |
#define AD7150_TIMEOUT |
( |
|
chan, |
|
|
|
type, |
|
|
|
dir, |
|
|
|
ev_type, |
|
|
|
ev_dir |
|
) |
| |
Value:
&ad7150_show_timeout, \
&ad7150_store_timeout, \
IIO_EV_TYPE_##ev_type, \
IIO_EV_DIR_##ev_dir))
Definition at line 409 of file ad7150.c.
MODULE_DESCRIPTION |
( |
"Analog Devices AD7150/1/6 capacitive sensor driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ad7150_id |
|
|
) |
| |
module_i2c_driver |
( |
ad7150_driver |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|