Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | adis16209_state |
Functions | |
int | adis16209_set_irq (struct iio_dev *indio_dev, bool enable) |
#define ADIS16209_ALM_CTRL 0x28 |
Definition at line 46 of file adis16209.h.
#define ADIS16209_ALM_MAG1 0x20 |
Definition at line 38 of file adis16209.h.
#define ADIS16209_ALM_MAG2 0x22 |
Definition at line 40 of file adis16209.h.
#define ADIS16209_ALM_SMPL1 0x24 |
Definition at line 42 of file adis16209.h.
#define ADIS16209_ALM_SMPL2 0x26 |
Definition at line 44 of file adis16209.h.
#define ADIS16209_AUX_ADC 0x08 |
Definition at line 18 of file adis16209.h.
#define ADIS16209_AUX_DAC 0x30 |
Definition at line 48 of file adis16209.h.
#define ADIS16209_AVG_CNT 0x38 |
Definition at line 56 of file adis16209.h.
#define ADIS16209_DIAG_STAT 0x3C |
Definition at line 60 of file adis16209.h.
#define ADIS16209_DIAG_STAT_ALARM1 (1<<8) |
Definition at line 82 of file adis16209.h.
#define ADIS16209_DIAG_STAT_ALARM2 (1<<9) |
Definition at line 80 of file adis16209.h.
#define ADIS16209_DIAG_STAT_FLASH_UPT (1<<2) |
Definition at line 88 of file adis16209.h.
#define ADIS16209_DIAG_STAT_POWER_HIGH (1<<1) |
Definition at line 90 of file adis16209.h.
#define ADIS16209_DIAG_STAT_POWER_LOW (1<<0) |
Definition at line 92 of file adis16209.h.
#define ADIS16209_DIAG_STAT_SELFTEST_FAIL (1<<5) |
Definition at line 84 of file adis16209.h.
#define ADIS16209_DIAG_STAT_SPI_FAIL (1<<3) |
Definition at line 86 of file adis16209.h.
#define ADIS16209_ERROR_ACTIVE (1<<14) |
Definition at line 102 of file adis16209.h.
#define ADIS16209_FLASH_CNT 0x00 |
Definition at line 10 of file adis16209.h.
#define ADIS16209_GLOB_CMD 0x3E |
Definition at line 62 of file adis16209.h.
#define ADIS16209_GLOB_CMD_CLEAR_STAT (1<<4) |
Definition at line 96 of file adis16209.h.
#define ADIS16209_GLOB_CMD_FACTORY_CAL (1<<1) |
Definition at line 97 of file adis16209.h.
#define ADIS16209_GLOB_CMD_SW_RESET (1<<7) |
Definition at line 95 of file adis16209.h.
#define ADIS16209_GPIO_CTRL 0x32 |
Definition at line 50 of file adis16209.h.
#define ADIS16209_MAX_RX 24 |
Definition at line 100 of file adis16209.h.
#define ADIS16209_MAX_TX 24 |
Definition at line 99 of file adis16209.h.
#define ADIS16209_MSC_CTRL 0x34 |
Definition at line 52 of file adis16209.h.
#define ADIS16209_MSC_CTRL_ACTIVE_HIGH (1 << 1) |
Definition at line 74 of file adis16209.h.
#define ADIS16209_MSC_CTRL_DATA_RDY_DIO2 (1 << 0) |
Definition at line 76 of file adis16209.h.
#define ADIS16209_MSC_CTRL_DATA_RDY_EN (1 << 2) |
Definition at line 72 of file adis16209.h.
#define ADIS16209_MSC_CTRL_PWRUP_SELF_TEST (1 << 10) |
Definition at line 68 of file adis16209.h.
#define ADIS16209_MSC_CTRL_SELF_TEST_EN (1 << 8) |
Definition at line 70 of file adis16209.h.
#define ADIS16209_OUTPUTS 8 |
Definition at line 64 of file adis16209.h.
Definition at line 6 of file adis16209.h.
#define ADIS16209_ROT_NULL 0x1A |
Definition at line 36 of file adis16209.h.
#define ADIS16209_ROT_OUT 0x10 |
Definition at line 26 of file adis16209.h.
#define ADIS16209_SCAN_ACC_X 1 |
Definition at line 123 of file adis16209.h.
#define ADIS16209_SCAN_ACC_Y 2 |
Definition at line 124 of file adis16209.h.
#define ADIS16209_SCAN_AUX_ADC 3 |
Definition at line 125 of file adis16209.h.
#define ADIS16209_SCAN_INCLI_X 5 |
Definition at line 127 of file adis16209.h.
#define ADIS16209_SCAN_INCLI_Y 6 |
Definition at line 128 of file adis16209.h.
#define ADIS16209_SCAN_ROT 7 |
Definition at line 129 of file adis16209.h.
#define ADIS16209_SCAN_SUPPLY 0 |
Definition at line 122 of file adis16209.h.
#define ADIS16209_SCAN_TEMP 4 |
Definition at line 126 of file adis16209.h.
#define ADIS16209_SLP_CNT 0x3A |
Definition at line 58 of file adis16209.h.
#define ADIS16209_SMPL_PRD 0x36 |
Definition at line 54 of file adis16209.h.
#define ADIS16209_STARTUP_DELAY 220 /* ms */ |
Definition at line 4 of file adis16209.h.
#define ADIS16209_SUPPLY_OUT 0x02 |
Definition at line 12 of file adis16209.h.
#define ADIS16209_TEMP_OUT 0x0A |
Definition at line 20 of file adis16209.h.
Definition at line 7 of file adis16209.h.
#define ADIS16209_XACCL_NULL 0x12 |
Definition at line 28 of file adis16209.h.
#define ADIS16209_XACCL_OUT 0x04 |
Definition at line 14 of file adis16209.h.
#define ADIS16209_XINCL_NULL 0x16 |
Definition at line 32 of file adis16209.h.
#define ADIS16209_XINCL_OUT 0x0C |
Definition at line 22 of file adis16209.h.
#define ADIS16209_YACCL_NULL 0x14 |
Definition at line 30 of file adis16209.h.
#define ADIS16209_YACCL_OUT 0x06 |
Definition at line 16 of file adis16209.h.
#define ADIS16209_YINCL_NULL 0x18 |
Definition at line 34 of file adis16209.h.
#define ADIS16209_YINCL_OUT 0x0E |
Definition at line 24 of file adis16209.h.