#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/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>
Go to the source code of this file.
#define _AD7476_CHAN |
( |
|
bits, |
|
|
|
_shift, |
|
|
|
_info_mask |
|
) |
| |
Value:{ \
.indexed = 1, \
.info_mask = _info_mask | \
IIO_CHAN_INFO_SCALE_SHARED_BIT, \
.scan_type = { \
.sign = 'u', \
}, \
}
Definition at line 143 of file ad7476.c.
#define AD7476_CHAN |
( |
|
bits | ) |
|
#define AD7940_CHAN |
( |
|
bits | ) |
|
#define RES_MASK |
( |
|
bits | ) |
((1 << (bits)) - 1) |
- Enumerator:
ID_AD7091R |
|
ID_AD7276 |
|
ID_AD7277 |
|
ID_AD7278 |
|
ID_AD7466 |
|
ID_AD7467 |
|
ID_AD7468 |
|
ID_AD7495 |
|
ID_AD7940 |
|
Definition at line 50 of file ad7476.c.
MODULE_DESCRIPTION |
( |
"Analog Devices AD7476 and similar 1-channel ADCs" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
ad7476_id |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
ad7476_driver |
| ) |
|