Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/device.h>
#include <linux/spi/spi.h>
#include <linux/slab.h>
#include <linux/sysfs.h>
#include <linux/delay.h>
#include <linux/gpio.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 | ad2s1200_state |
Macros | |
#define | DRV_NAME "ad2s1200" |
#define | AD2S1200_PN 2 |
#define | AD2S1200_HZ 8192000 |
#define | AD2S1200_TSCLK (1000000000/AD2S1200_HZ) |
Functions | |
MODULE_DEVICE_TABLE (spi, ad2s1200_id) | |
module_spi_driver (ad2s1200_driver) | |
MODULE_AUTHOR ("Graff Yang <[email protected]>") | |
MODULE_DESCRIPTION ("Analog Devices AD2S1200/1205 Resolver to Digital SPI driver") | |
MODULE_LICENSE ("GPL v2") | |
#define AD2S1200_HZ 8192000 |
Definition at line 31 of file ad2s1200.c.
#define AD2S1200_PN 2 |
Definition at line 28 of file ad2s1200.c.
#define AD2S1200_TSCLK (1000000000/AD2S1200_HZ) |
Definition at line 33 of file ad2s1200.c.
#define DRV_NAME "ad2s1200" |
Definition at line 25 of file ad2s1200.c.
MODULE_AUTHOR | ( | "Graff Yang <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | spi | , |
ad2s1200_id | |||
) |
MODULE_LICENSE | ( | "GPL v2" | ) |
module_spi_driver | ( | ad2s1200_driver | ) |