#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-sysfs.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/of.h>
#include <linux/i2c/ads1015.h>
Go to the source code of this file.
#define ADS1015_DEFAULT_CHANNELS 0xff |
#define ADS1015_DEFAULT_DATA_RATE 4 |
#define ADS1015_DEFAULT_PGA 2 |
- Enumerator:
ADS1015_CONVERSION |
|
ADS1015_CONFIG |
|
Definition at line 39 of file ads1015.c.
MODULE_DESCRIPTION |
( |
"ADS1015 driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
ads1015_id |
|
|
) |
| |
module_i2c_driver |
( |
ads1015_driver |
| ) |
|