#include <linux/interrupt.h>
#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/sched.h>
#include <linux/gpio.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/adc/ad_sigma_delta.h>
#include "ad7780.h"
Go to the source code of this file.
#define AD7780_ERR (1 << 5) |
#define AD7780_FILTER (1 << 6) |
#define AD7780_GAIN (1 << 2) |
#define AD7780_ID0 (1 << 3) |
#define AD7780_ID1 (1 << 4) |
#define AD7780_PAT0 (1 << 0) |
#define AD7780_PAT1 (1 << 1) |
#define AD7780_RDY (1 << 7) |
- Enumerator:
ID_AD7170 |
|
ID_AD7171 |
|
ID_AD7780 |
|
ID_AD7781 |
|
Definition at line 52 of file ad7780.c.
MODULE_DESCRIPTION |
( |
"Analog Devices AD7780 and similar ADCs" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
spi |
, |
|
|
ad7780_id |
|
|
) |
| |
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|
module_spi_driver |
( |
ad7780_driver |
| ) |
|