no-OS
ad7172_4_regs.h
Go to the documentation of this file.
1 /**************************************************************************/
34 #ifndef __AD7172_4_REGS_H__
35 #define __AD7172_4_REGS_H__
36 
37 #include "ad717x.h"
38 
39 #ifdef AD7172_4_INIT
40 
41 ad717x_st_reg ad7172_4_regs[] = {
42  { AD717X_STATUS_REG, 0x00, 1 },
43  { AD717X_ADCMODE_REG, 0x0000, 2 },
44  {
47  2
48  },
49  { AD717X_REGCHECK_REG, 0x0000, 3 },
50  { AD717X_DATA_REG, 0x0000, 3 },
51  { AD717X_GPIOCON_REG, 0x0000, 2 },
52  { AD717X_ID_REG, 0x0000, 2 },
53  {
56  2
57  },
58  { AD717X_CHMAP1_REG, 0x0000, 2 },
59  { AD717X_CHMAP2_REG, 0x0000, 2 },
60  { AD717X_CHMAP3_REG, 0x0000, 2 },
61  { AD717X_CHMAP4_REG, 0x0000, 2 },
62  { AD717X_CHMAP5_REG, 0x0000, 2 },
63  { AD717X_CHMAP6_REG, 0x0000, 2 },
64  { AD717X_CHMAP7_REG, 0x0000, 2 },
65  { AD717X_SETUPCON0_REG, 0x0000, 2 },
66  { AD717X_SETUPCON1_REG, 0x0000, 2 },
67  { AD717X_SETUPCON2_REG, 0x0000, 2 },
68  { AD717X_SETUPCON3_REG, 0x0000, 2 },
69  { AD717X_SETUPCON4_REG, 0x0000, 2 },
70  { AD717X_SETUPCON5_REG, 0x0000, 2 },
71  { AD717X_SETUPCON6_REG, 0x0000, 2 },
72  { AD717X_SETUPCON7_REG, 0x0000, 2 },
73  {
76  2
77  },
78  {
81  2
82  },
83  {
86  2
87  },
88  {
91  2
92  },
93  {
96  2
97  },
98  {
101  2
102  },
103  {
106  2
107  },
108  {
111  2
112  },
113  {AD717X_OFFSET0_REG, 0, 3 },
114  {AD717X_OFFSET1_REG, 0, 3 },
115  {AD717X_OFFSET2_REG, 0, 3 },
116  {AD717X_OFFSET3_REG, 0, 3 },
117  {AD717X_OFFSET4_REG, 0, 3 },
118  {AD717X_OFFSET5_REG, 0, 3 },
119  {AD717X_OFFSET6_REG, 0, 3 },
120  {AD717X_OFFSET7_REG, 0, 3 },
121  {AD717X_GAIN0_REG, 0, 3 },
122  {AD717X_GAIN1_REG, 0, 3 },
123  {AD717X_GAIN2_REG, 0, 3 },
124  {AD717X_GAIN3_REG, 0, 3 },
125  {AD717X_GAIN5_REG, 0, 3 },
126  {AD717X_GAIN6_REG, 0, 3 },
127  {AD717X_GAIN7_REG, 0, 3 },
128 };
129 #endif
130 
131 #define AD7172_4_SLAVE_ID 1
132 
133 #endif /*__AD7172_4_REGS_H__ */
AD717X_GAIN3_REG
#define AD717X_GAIN3_REG
Definition: ad717x.h:369
AD717X_IFMODE_REG_DOUT_RESET
#define AD717X_IFMODE_REG_DOUT_RESET
Definition: ad717x.h:401
AD717X_GAIN5_REG
#define AD717X_GAIN5_REG
Definition: ad717x.h:371
AD717X_GAIN0_REG
#define AD717X_GAIN0_REG
Definition: ad717x.h:366
AD717X_CHMAP4_REG
#define AD717X_CHMAP4_REG
Definition: ad717x.h:330
AD717X_FILTCON0_REG
#define AD717X_FILTCON0_REG
Definition: ad717x.h:350
AD717X_GAIN7_REG
#define AD717X_GAIN7_REG
Definition: ad717x.h:373
AD717X_OFFSET4_REG
#define AD717X_OFFSET4_REG
Definition: ad717x.h:362
AD717X_ID_REG
#define AD717X_ID_REG
Definition: ad717x.h:325
AD717X_FILTCON4_REG
#define AD717X_FILTCON4_REG
Definition: ad717x.h:354
AD717X_FILTCON3_REG
#define AD717X_FILTCON3_REG
Definition: ad717x.h:353
AD717X_CHMAP_REG_CH_EN
#define AD717X_CHMAP_REG_CH_EN
Definition: ad717x.h:450
AD717X_SETUPCON1_REG
#define AD717X_SETUPCON1_REG
Definition: ad717x.h:343
AD717X_GAIN2_REG
#define AD717X_GAIN2_REG
Definition: ad717x.h:368
AD717X_IFMODE_REG_CRC_EN
#define AD717X_IFMODE_REG_CRC_EN
Definition: ad717x.h:406
AD717X_CHMAP6_REG
#define AD717X_CHMAP6_REG
Definition: ad717x.h:332
AD717X_SETUPCON2_REG
#define AD717X_SETUPCON2_REG
Definition: ad717x.h:344
AD717X_SETUPCON6_REG
#define AD717X_SETUPCON6_REG
Definition: ad717x.h:348
AD717X_SETUPCON4_REG
#define AD717X_SETUPCON4_REG
Definition: ad717x.h:346
AD717X_ADCMODE_REG
#define AD717X_ADCMODE_REG
Definition: ad717x.h:320
AD717X_CHMAP1_REG
#define AD717X_CHMAP1_REG
Definition: ad717x.h:327
AD717X_OFFSET6_REG
#define AD717X_OFFSET6_REG
Definition: ad717x.h:364
AD717X_CHMAP3_REG
#define AD717X_CHMAP3_REG
Definition: ad717x.h:329
ad717x_st_reg
Definition: ad717x.h:248
AD717X_FILTCON5_REG
#define AD717X_FILTCON5_REG
Definition: ad717x.h:355
AD717X_OFFSET2_REG
#define AD717X_OFFSET2_REG
Definition: ad717x.h:360
AD717X_FILTCON2_REG
#define AD717X_FILTCON2_REG
Definition: ad717x.h:352
AD717X_SETUPCON0_REG
#define AD717X_SETUPCON0_REG
Definition: ad717x.h:342
AD717X_CHMAP0_REG
#define AD717X_CHMAP0_REG
Definition: ad717x.h:326
AD717X_GPIOCON_REG
#define AD717X_GPIOCON_REG
Definition: ad717x.h:324
AD717X_FILT_CONF_REG_ODR
#define AD717X_FILT_CONF_REG_ODR(x)
Definition: ad717x.h:485
AD717X_FILT_CONF_REG_ENHFILT
#define AD717X_FILT_CONF_REG_ENHFILT(x)
Definition: ad717x.h:483
ad717x.h
AD717X header file. Devices: AD7172-2, AD7172-4, AD7173-8, AD7175-2, AD7175-8, AD7176-2,...
AD717X_OFFSET0_REG
#define AD717X_OFFSET0_REG
Definition: ad717x.h:358
AD717X_STATUS_REG
#define AD717X_STATUS_REG
Definition: ad717x.h:319
AD717X_DATA_REG
#define AD717X_DATA_REG
Definition: ad717x.h:323
AD717X_CHMAP7_REG
#define AD717X_CHMAP7_REG
Definition: ad717x.h:333
AD717X_OFFSET1_REG
#define AD717X_OFFSET1_REG
Definition: ad717x.h:359
AD717X_FILTCON1_REG
#define AD717X_FILTCON1_REG
Definition: ad717x.h:351
AD717X_OFFSET7_REG
#define AD717X_OFFSET7_REG
Definition: ad717x.h:365
AD717X_CHMAP2_REG
#define AD717X_CHMAP2_REG
Definition: ad717x.h:328
AD717X_SETUPCON5_REG
#define AD717X_SETUPCON5_REG
Definition: ad717x.h:347
AD717X_IFMODE_REG
#define AD717X_IFMODE_REG
Definition: ad717x.h:321
AD717X_FILTCON6_REG
#define AD717X_FILTCON6_REG
Definition: ad717x.h:356
AD717X_GAIN1_REG
#define AD717X_GAIN1_REG
Definition: ad717x.h:367
AD717X_CHMAP_REG_AINNEG
#define AD717X_CHMAP_REG_AINNEG(x)
Definition: ad717x.h:453
AD717X_OFFSET3_REG
#define AD717X_OFFSET3_REG
Definition: ad717x.h:361
AD717X_SETUPCON3_REG
#define AD717X_SETUPCON3_REG
Definition: ad717x.h:345
AD717X_CHMAP5_REG
#define AD717X_CHMAP5_REG
Definition: ad717x.h:331
AD717X_REGCHECK_REG
#define AD717X_REGCHECK_REG
Definition: ad717x.h:322
AD717X_GAIN6_REG
#define AD717X_GAIN6_REG
Definition: ad717x.h:372
AD717X_FILTCON7_REG
#define AD717X_FILTCON7_REG
Definition: ad717x.h:357
AD717X_OFFSET5_REG
#define AD717X_OFFSET5_REG
Definition: ad717x.h:363
AD717X_SETUPCON7_REG
#define AD717X_SETUPCON7_REG
Definition: ad717x.h:349