#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/spi/spi.h>
#include <linux/regulator/consumer.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "ad7298.h"
Go to the source code of this file.
#define AD7298_V_CHAN |
( |
|
index | ) |
|
Value:{ \
.indexed = 1, \
IIO_CHAN_INFO_SCALE_SHARED_BIT, \
.scan_type = { \
.sign = 'u', \
.realbits = 12, \
.storagebits = 16, \
}, \
}
Definition at line 25 of file ad7298_core.c.
MODULE_DESCRIPTION |
( |
"Analog Devices AD7298 ADC" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
ad7298_id |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
ad7298_driver |
| ) |
|