Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
ad7266.h
Go to the documentation of this file.
1
/*
2
* AD7266/65 SPI ADC driver
3
*
4
* Copyright 2012 Analog Devices Inc.
5
*
6
* Licensed under the GPL-2.
7
*/
8
9
#ifndef __IIO_ADC_AD7266_H__
10
#define __IIO_ADC_AD7266_H__
11
19
enum
ad7266_range
{
20
AD7266_RANGE_VREF
,
21
AD7266_RANGE_2VREF
,
22
};
23
33
enum
ad7266_mode
{
34
AD7266_MODE_DIFF
,
35
AD7266_MODE_PSEUDO_DIFF
,
36
AD7266_MODE_SINGLE_ENDED
,
37
};
38
47
struct
ad7266_platform_data
{
48
enum
ad7266_range
range
;
49
enum
ad7266_mode
mode
;
50
bool
fixed_addr
;
51
unsigned
int
addr_gpios
[3];
52
};
53
54
#endif
Generated on Thu Jan 10 2013 14:52:19 for Linux Kernel by
1.8.2