#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/err.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/dac/max517.h>
Go to the source code of this file.
#define COMMAND_CHANNEL0 0x00 |
#define COMMAND_CHANNEL1 0x01 /* for MAX518 and MAX519 */ |
#define COMMAND_PD 0x08 /* Power Down */ |
#define MAX517_CHANNEL |
( |
|
chan | ) |
|
Value:{ \
.indexed = 1, \
.output = 1, \
}
Definition at line 144 of file max517.c.
#define MAX517_DRV_NAME "max517" |
#define MAX517_PM_OPS NULL |
- Enumerator:
ID_MAX517 |
|
ID_MAX518 |
|
ID_MAX519 |
|
Definition at line 39 of file max517.c.
MODULE_DESCRIPTION |
( |
"MAX517/MAX518/MAX519 8-bit DAC" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
max517_id |
|
|
) |
| |
module_i2c_driver |
( |
max517_driver |
| ) |
|