#include <linux/interrupt.h>
#include <linux/workqueue.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/list.h>
#include <linux/spi/spi.h>
#include <linux/i2c.h>
#include <linux/regulator/consumer.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
Go to the source code of this file.
|
#define | MODE_PWRDWN_1k 0x1 |
|
#define | MODE_PWRDWN_100k 0x2 |
|
#define | MODE_PWRDWN_TRISTATE 0x3 |
|
#define | _AD5446_CHANNEL(bits, storage, shift, ext) |
|
#define | AD5446_CHANNEL(bits, storage, shift) _AD5446_CHANNEL(bits, storage, shift, NULL) |
|
#define | AD5446_CHANNEL_POWERDOWN(bits, storage, shift) _AD5446_CHANNEL(bits, storage, shift, ad5446_ext_info_powerdown) |
|
#define _AD5446_CHANNEL |
( |
|
bits, |
|
|
|
storage, |
|
|
|
shift, |
|
|
|
ext |
|
) |
| |
Value:{ \
.indexed = 1, \
.output = 1, \
.channel = 0, \
IIO_CHAN_INFO_SCALE_SHARED_BIT, \
}
Definition at line 141 of file ad5446.c.
#define AD5446_CHANNEL_POWERDOWN |
( |
|
bits, |
|
|
|
storage, |
|
|
|
shift |
|
) |
| _AD5446_CHANNEL(bits, storage, shift, ad5446_ext_info_powerdown) |
#define MODE_PWRDWN_100k 0x2 |
#define MODE_PWRDWN_1k 0x1 |
#define MODE_PWRDWN_TRISTATE 0x3 |
MODULE_DESCRIPTION |
( |
"Analog Devices AD5444/AD5446 DAC" |
| ) |
|
module_exit |
( |
ad5446_exit |
| ) |
|
module_init |
( |
ad5446_init |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|