Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
adis16080_core.c File Reference
#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/module.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>

Go to the source code of this file.

Data Structures

struct  adis16080_state
 

Macros

#define ADIS16080_DIN_GYRO   (0 << 10) /* Gyroscope output */
 
#define ADIS16080_DIN_TEMP   (1 << 10) /* Temperature output */
 
#define ADIS16080_DIN_AIN1   (2 << 10)
 
#define ADIS16080_DIN_AIN2   (3 << 10)
 
#define ADIS16080_DIN_WRITE   (1 << 15)
 

Functions

 module_spi_driver (adis16080_driver)
 
 MODULE_AUTHOR ("Barry Song <[email protected]>")
 
 MODULE_DESCRIPTION ("Analog Devices ADIS16080/100 Yaw Rate Gyroscope Driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_ALIAS ("spi:adis16080")
 

Macro Definition Documentation

#define ADIS16080_DIN_AIN1   (2 << 10)

Definition at line 22 of file adis16080_core.c.

#define ADIS16080_DIN_AIN2   (3 << 10)

Definition at line 23 of file adis16080_core.c.

#define ADIS16080_DIN_GYRO   (0 << 10) /* Gyroscope output */

Definition at line 20 of file adis16080_core.c.

#define ADIS16080_DIN_TEMP   (1 << 10) /* Temperature output */

Definition at line 21 of file adis16080_core.c.

#define ADIS16080_DIN_WRITE   (1 << 15)

Definition at line 30 of file adis16080_core.c.

Function Documentation

MODULE_ALIAS ( "spi:adis16080"  )
MODULE_AUTHOR ( "Barry Song <[email protected]>"  )
MODULE_DESCRIPTION ( "Analog Devices ADIS16080/100 Yaw Rate Gyroscope Driver"  )
MODULE_LICENSE ( "GPL v2 )
module_spi_driver ( adis16080_driver  )