ADS1220 Library with ChipSelect Support and Code to Voltage Conversion Program

Dependents:   WeightScale

Committer:
sandeepmalladi
Date:
Wed Feb 15 15:31:32 2017 +0000
Revision:
1:85ab9e2aab24
Parent:
0:90cd7e5e24af
Chip Select enable and Disable for mutiple Slave Communication

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sandeepmalladi 1:85ab9e2aab24 1 /***********************************************************************************************************************************************************************************************
sandeepmalladi 1:85ab9e2aab24 2 * File Name : ADS1220.h *
sandeepmalladi 1:85ab9e2aab24 3 * Author : Sandeep Reddy Malladi *
sandeepmalladi 1:85ab9e2aab24 4 * Designation : Entwicklungs ingenieur *
sandeepmalladi 1:85ab9e2aab24 5 * Version : 1.0 *
sandeepmalladi 1:85ab9e2aab24 6 * Description : Low level drivers to implement for ADS1220 Using SPI Communication. *
sandeepmalladi 1:85ab9e2aab24 7 * *
sandeepmalladi 1:85ab9e2aab24 8 * *
sandeepmalladi 1:85ab9e2aab24 9 ************************************************************************************************************************************************************************************************/
sandeepmalladi 1:85ab9e2aab24 10
sandeepmalladi 0:90cd7e5e24af 11 #ifndef ADS1220_H_
sandeepmalladi 0:90cd7e5e24af 12 #define ADS1220_H_
sandeepmalladi 0:90cd7e5e24af 13 #include "mbed.h"
sandeepmalladi 0:90cd7e5e24af 14
sandeepmalladi 0:90cd7e5e24af 15 #define COUNTOF(__BUFFER__) (sizeof(__BUFFER__) / sizeof(*(__BUFFER__)))
sandeepmalladi 0:90cd7e5e24af 16 #define gain_error_correction 0.9107468123861566//0.9980039920159681//6218905 // 0.977517107
sandeepmalladi 0:90cd7e5e24af 17 #define weight_gram 408
sandeepmalladi 0:90cd7e5e24af 18
sandeepmalladi 0:90cd7e5e24af 19 /* Error Return Values */
sandeepmalladi 0:90cd7e5e24af 20 #define ADS1220_NO_ERROR 0
sandeepmalladi 0:90cd7e5e24af 21 #define ADS1220_ERROR -1
sandeepmalladi 0:90cd7e5e24af 22
sandeepmalladi 0:90cd7e5e24af 23 /* Command Definitions */
sandeepmalladi 0:90cd7e5e24af 24 #define ADS1220_CMD_RDATA 0x10
sandeepmalladi 0:90cd7e5e24af 25 #define ADS1220_CMD_RREG 0x20
sandeepmalladi 0:90cd7e5e24af 26 #define ADS1220_CMD_WREG 0x40
sandeepmalladi 0:90cd7e5e24af 27 #define ADS1220_CMD_SYNC 0x08
sandeepmalladi 0:90cd7e5e24af 28 #define ADS1220_CMD_SHUTDOWN 0x02
sandeepmalladi 0:90cd7e5e24af 29 #define ADS1220_CMD_RESET 0x06
sandeepmalladi 0:90cd7e5e24af 30
sandeepmalladi 0:90cd7e5e24af 31 /* ADS1220 Register Definitions */
sandeepmalladi 0:90cd7e5e24af 32 #define ADS1220_0_REGISTER 0x00
sandeepmalladi 0:90cd7e5e24af 33 #define ADS1220_1_REGISTER 0x01
sandeepmalladi 0:90cd7e5e24af 34 #define ADS1220_2_REGISTER 0x02
sandeepmalladi 0:90cd7e5e24af 35 #define ADS1220_3_REGISTER 0x03
sandeepmalladi 0:90cd7e5e24af 36
sandeepmalladi 0:90cd7e5e24af 37
sandeepmalladi 0:90cd7e5e24af 38 /* ADS1220 Register 0 Definition */
sandeepmalladi 0:90cd7e5e24af 39 // Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0
sandeepmalladi 0:90cd7e5e24af 40 //--------------------------------------------------------------------------------------------
sandeepmalladi 0:90cd7e5e24af 41 // MUX [3:0] | GAIN[2:0] | PGA_BYPASS
sandeepmalladi 0:90cd7e5e24af 42 //
sandeepmalladi 0:90cd7e5e24af 43 // Define MUX
sandeepmalladi 0:90cd7e5e24af 44 #define ADS1220_MUX_0_1 0x00
sandeepmalladi 0:90cd7e5e24af 45 #define ADS1220_MUX_0_2 0x10
sandeepmalladi 0:90cd7e5e24af 46 #define ADS1220_MUX_0_3 0x20
sandeepmalladi 0:90cd7e5e24af 47 #define ADS1220_MUX_1_2 0x30
sandeepmalladi 0:90cd7e5e24af 48 #define ADS1220_MUX_1_3 0x40
sandeepmalladi 0:90cd7e5e24af 49 #define ADS1220_MUX_2_3 0x50
sandeepmalladi 0:90cd7e5e24af 50 #define ADS1220_MUX_1_0 0x60
sandeepmalladi 0:90cd7e5e24af 51 #define ADS1220_MUX_3_2 0x70
sandeepmalladi 1:85ab9e2aab24 52 #define ADS1220_MUX_0_G 0x80
sandeepmalladi 0:90cd7e5e24af 53 #define ADS1220_MUX_1_G 0x90
sandeepmalladi 0:90cd7e5e24af 54 #define ADS1220_MUX_2_G 0xa0
sandeepmalladi 0:90cd7e5e24af 55 #define ADS1220_MUX_3_G 0xb0
sandeepmalladi 0:90cd7e5e24af 56 #define ADS1220_MUX_EX_VREF 0xc0
sandeepmalladi 0:90cd7e5e24af 57 #define ADS1220_MUX_AVDD 0xd0
sandeepmalladi 0:90cd7e5e24af 58 #define ADS1220_MUX_DIV2 0xe0
sandeepmalladi 0:90cd7e5e24af 59
sandeepmalladi 0:90cd7e5e24af 60 // Define GAIN
sandeepmalladi 0:90cd7e5e24af 61 #define ADS1220_GAIN_1 0x00
sandeepmalladi 0:90cd7e5e24af 62 #define ADS1220_GAIN_2 0x02
sandeepmalladi 0:90cd7e5e24af 63 #define ADS1220_GAIN_4 0x04
sandeepmalladi 0:90cd7e5e24af 64 #define ADS1220_GAIN_8 0x06
sandeepmalladi 0:90cd7e5e24af 65 #define ADS1220_GAIN_16 0x08
sandeepmalladi 0:90cd7e5e24af 66 #define ADS1220_GAIN_32 0x0a
sandeepmalladi 0:90cd7e5e24af 67 #define ADS1220_GAIN_64 0x0c
sandeepmalladi 0:90cd7e5e24af 68 #define ADS1220_GAIN_128 0x0e
sandeepmalladi 0:90cd7e5e24af 69
sandeepmalladi 0:90cd7e5e24af 70 // Define PGA_BYPASS
sandeepmalladi 0:90cd7e5e24af 71 #define ADS1220_PGA_BYPASS 0x01
sandeepmalladi 0:90cd7e5e24af 72
sandeepmalladi 0:90cd7e5e24af 73 /* ADS1220 Register 1 Definition */
sandeepmalladi 0:90cd7e5e24af 74 // Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0
sandeepmalladi 0:90cd7e5e24af 75 //--------------------------------------------------------------------------------------------
sandeepmalladi 0:90cd7e5e24af 76 // DR[2:0] | MODE[1:0] | CM | TS | BCS
sandeepmalladi 0:90cd7e5e24af 77 //
sandeepmalladi 0:90cd7e5e24af 78 // Define DR (data rate)
sandeepmalladi 0:90cd7e5e24af 79 #define ADS1220_DR_20 0x00
sandeepmalladi 0:90cd7e5e24af 80 #define ADS1220_DR_45 0x20
sandeepmalladi 0:90cd7e5e24af 81 #define ADS1220_DR_90 0x40
sandeepmalladi 0:90cd7e5e24af 82 #define ADS1220_DR_175 0x60
sandeepmalladi 0:90cd7e5e24af 83 #define ADS1220_DR_330 0x80
sandeepmalladi 0:90cd7e5e24af 84 #define ADS1220_DR_600 0xa0
sandeepmalladi 0:90cd7e5e24af 85 #define ADS1220_DR_1000 0xc0
sandeepmalladi 0:90cd7e5e24af 86
sandeepmalladi 0:90cd7e5e24af 87 // Define MODE of Operation
sandeepmalladi 0:90cd7e5e24af 88 #define ADS1220_MODE_NORMAL 0x00
sandeepmalladi 0:90cd7e5e24af 89 #define ADS1220_MODE_DUTY 0x08
sandeepmalladi 0:90cd7e5e24af 90 #define ADS1220_MODE_TURBO 0x10
sandeepmalladi 0:90cd7e5e24af 91 #define ADS1220_MODE_DCT 0x18
sandeepmalladi 0:90cd7e5e24af 92
sandeepmalladi 0:90cd7e5e24af 93 // Define CM (conversion mode)
sandeepmalladi 0:90cd7e5e24af 94 #define ADS1220_CC 0x04
sandeepmalladi 0:90cd7e5e24af 95
sandeepmalladi 0:90cd7e5e24af 96 // Define TS (temperature sensor)
sandeepmalladi 0:90cd7e5e24af 97 #define ADS1220_TEMP_SENSOR 0x02
sandeepmalladi 0:90cd7e5e24af 98
sandeepmalladi 0:90cd7e5e24af 99 // Define BCS (burnout current source)
sandeepmalladi 0:90cd7e5e24af 100 #define ADS1220_BCS 0x01
sandeepmalladi 0:90cd7e5e24af 101
sandeepmalladi 0:90cd7e5e24af 102 /* ADS1220 Register 2 Definition */
sandeepmalladi 0:90cd7e5e24af 103 // Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0
sandeepmalladi 0:90cd7e5e24af 104 //--------------------------------------------------------------------------------------------
sandeepmalladi 0:90cd7e5e24af 105 // VREF[1:0] | 50/60[1:0] | PSW | IDAC[2:0]
sandeepmalladi 0:90cd7e5e24af 106 //
sandeepmalladi 0:90cd7e5e24af 107 // Define VREF
sandeepmalladi 0:90cd7e5e24af 108 #define ADS1220_VREF_INT 0x00
sandeepmalladi 0:90cd7e5e24af 109 #define ADS1220_VREF_EX_DED 0x40
sandeepmalladi 0:90cd7e5e24af 110 #define ADS1220_VREF_EX_AIN 0x80
sandeepmalladi 0:90cd7e5e24af 111 #define ADS1220_VREF_SUPPLY 0xc0
sandeepmalladi 0:90cd7e5e24af 112
sandeepmalladi 0:90cd7e5e24af 113 // Define 50/60 (filter response)
sandeepmalladi 0:90cd7e5e24af 114 #define ADS1220_REJECT_OFF 0x00
sandeepmalladi 0:90cd7e5e24af 115 #define ADS1220_REJECT_BOTH 0x10
sandeepmalladi 0:90cd7e5e24af 116 #define ADS1220_REJECT_50 0x20
sandeepmalladi 0:90cd7e5e24af 117 #define ADS1220_REJECT_60 0x30
sandeepmalladi 0:90cd7e5e24af 118
sandeepmalladi 0:90cd7e5e24af 119 // Define PSW (low side power switch)
sandeepmalladi 0:90cd7e5e24af 120 #define ADS1220_PSW_SW 0x08
sandeepmalladi 0:90cd7e5e24af 121
sandeepmalladi 0:90cd7e5e24af 122 // Define IDAC (IDAC current)
sandeepmalladi 0:90cd7e5e24af 123 #define ADS1220_IDAC_OFF 0x00
sandeepmalladi 0:90cd7e5e24af 124 #define ADS1220_IDAC_10 0x01
sandeepmalladi 0:90cd7e5e24af 125 #define ADS1220_IDAC_50 0x02
sandeepmalladi 0:90cd7e5e24af 126 #define ADS1220_IDAC_100 0x03
sandeepmalladi 0:90cd7e5e24af 127 #define ADS1220_IDAC_250 0x04
sandeepmalladi 0:90cd7e5e24af 128 #define ADS1220_IDAC_500 0x05
sandeepmalladi 0:90cd7e5e24af 129 #define ADS1220_IDAC_1000 0x06
sandeepmalladi 0:90cd7e5e24af 130 #define ADS1220_IDAC_2000 0x07
sandeepmalladi 0:90cd7e5e24af 131
sandeepmalladi 0:90cd7e5e24af 132 /* ADS1220 Register 3 Definition */
sandeepmalladi 0:90cd7e5e24af 133 // Bit 7 | Bit 6 | Bit 5 | Bit 4 | Bit 3 | Bit 2 | Bit 1 | Bit 0
sandeepmalladi 0:90cd7e5e24af 134 //--------------------------------------------------------------------------------------------
sandeepmalladi 0:90cd7e5e24af 135 // I1MUX[2:0] | I2MUX[2:0] | DRDYM | RESERVED
sandeepmalladi 0:90cd7e5e24af 136 //
sandeepmalladi 0:90cd7e5e24af 137 // Define I1MUX (current routing)
sandeepmalladi 0:90cd7e5e24af 138 #define ADS1220_IDAC1_OFF 0x00
sandeepmalladi 0:90cd7e5e24af 139 #define ADS1220_IDAC1_AIN0 0x20
sandeepmalladi 0:90cd7e5e24af 140 #define ADS1220_IDAC1_AIN1 0x40
sandeepmalladi 0:90cd7e5e24af 141 #define ADS1220_IDAC1_AIN2 0x60
sandeepmalladi 0:90cd7e5e24af 142 #define ADS1220_IDAC1_AIN3 0x80
sandeepmalladi 0:90cd7e5e24af 143 #define ADS1220_IDAC1_REFP0 0xa0
sandeepmalladi 0:90cd7e5e24af 144 #define ADS1220_IDAC1_REFN0 0xc0
sandeepmalladi 0:90cd7e5e24af 145
sandeepmalladi 0:90cd7e5e24af 146 // Define I2MUX (current routing)
sandeepmalladi 0:90cd7e5e24af 147 #define ADS1220_IDAC2_OFF 0x00
sandeepmalladi 0:90cd7e5e24af 148 #define ADS1220_IDAC2_AIN0 0x04
sandeepmalladi 0:90cd7e5e24af 149 #define ADS1220_IDAC2_AIN1 0x08
sandeepmalladi 0:90cd7e5e24af 150 #define ADS1220_IDAC2_AIN2 0x0c
sandeepmalladi 0:90cd7e5e24af 151 #define ADS1220_IDAC2_AIN3 0x10
sandeepmalladi 0:90cd7e5e24af 152 #define ADS1220_IDAC2_REFP0 0x14
sandeepmalladi 0:90cd7e5e24af 153 #define ADS1220_IDAC2_REFN0 0x18
sandeepmalladi 0:90cd7e5e24af 154
sandeepmalladi 0:90cd7e5e24af 155 // define DRDYM (DOUT/DRDY behaviour)
sandeepmalladi 0:90cd7e5e24af 156
sandeepmalladi 0:90cd7e5e24af 157 #define ADS1220_DRDY_MODE 0x02
sandeepmalladi 0:90cd7e5e24af 158
sandeepmalladi 0:90cd7e5e24af 159 class ADS1220 {
sandeepmalladi 0:90cd7e5e24af 160 public:
sandeepmalladi 0:90cd7e5e24af 161
sandeepmalladi 0:90cd7e5e24af 162 /** Create a new Digole Serial Display interface
sandeepmalladi 0:90cd7e5e24af 163 *
sandeepmalladi 0:90cd7e5e24af 164 * @param sda is the pin for I2C SDA
sandeepmalladi 0:90cd7e5e24af 165 * @param scl is the pin for I2C SCL
sandeepmalladi 0:90cd7e5e24af 166 * @param address is the 7-bit address (default is 0x27 for the device)
sandeepmalladi 0:90cd7e5e24af 167 */
sandeepmalladi 1:85ab9e2aab24 168 ADS1220(PinName mosi, PinName miso, PinName sclk, PinName cs);
sandeepmalladi 0:90cd7e5e24af 169
sandeepmalladi 0:90cd7e5e24af 170
sandeepmalladi 0:90cd7e5e24af 171 /* Low Level ADS1220 Device Functions */
sandeepmalladi 0:90cd7e5e24af 172 void Init(void); // Device intialization
sandeepmalladi 0:90cd7e5e24af 173 int WaitForDataReady(int Timeout); // DRDY polling
sandeepmalladi 0:90cd7e5e24af 174 void AssertCS(int fAssert); // Assert/deassert CS
sandeepmalladi 0:90cd7e5e24af 175 void SendByte(unsigned char cData ); // Send byte to the ADS1220
sandeepmalladi 0:90cd7e5e24af 176 unsigned int ReceiveByte(void); // Receive byte from the ADS1220
sandeepmalladi 0:90cd7e5e24af 177
sandeepmalladi 0:90cd7e5e24af 178 /* ADS1220 Higher Level Functions */
sandeepmalladi 0:90cd7e5e24af 179 unsigned int ReadData(void); // Read the data results
sandeepmalladi 0:90cd7e5e24af 180 void ReadRegister(int StartAddress, int NumRegs, unsigned * pData); // Read the register(s)
sandeepmalladi 0:90cd7e5e24af 181 void WriteRegister(int StartAddress, int NumRegs, unsigned * pData); // Write the register(s)
sandeepmalladi 0:90cd7e5e24af 182 void SendResetCommand(void); // Send a device Reset Command
sandeepmalladi 0:90cd7e5e24af 183 void SendStartCommand(void); // Send a Start/SYNC command
sandeepmalladi 0:90cd7e5e24af 184 void SendShutdownCommand(void); // Place the device in powerdown mode
sandeepmalladi 1:85ab9e2aab24 185
sandeepmalladi 0:90cd7e5e24af 186
sandeepmalladi 0:90cd7e5e24af 187 /* Register Set Value Commands */
sandeepmalladi 0:90cd7e5e24af 188 void Config(void);
sandeepmalladi 0:90cd7e5e24af 189 int SetChannel(int Mux);
sandeepmalladi 0:90cd7e5e24af 190 int SetGain(int Gain);
sandeepmalladi 0:90cd7e5e24af 191 int SetPGABypass(int Bypass);
sandeepmalladi 0:90cd7e5e24af 192 int SetDataRate(int DataRate);
sandeepmalladi 0:90cd7e5e24af 193 int SetClockMode(int ClockMode);
sandeepmalladi 0:90cd7e5e24af 194 int SetPowerDown(int PowerDown);
sandeepmalladi 0:90cd7e5e24af 195 int SetTemperatureMode(int TempMode);
sandeepmalladi 0:90cd7e5e24af 196 int SetBurnOutSource(int BurnOut);
sandeepmalladi 0:90cd7e5e24af 197 int SetVoltageReference(int VoltageRef);
sandeepmalladi 0:90cd7e5e24af 198 int Set50_60Rejection(int Rejection);
sandeepmalladi 0:90cd7e5e24af 199 int SetLowSidePowerSwitch(int PowerSwitch);
sandeepmalladi 0:90cd7e5e24af 200 int SetCurrentDACOutput(int CurrentOutput);
sandeepmalladi 0:90cd7e5e24af 201 int SetIDACRouting(int IDACRoute);
sandeepmalladi 0:90cd7e5e24af 202 int SetDRDYMode(int DRDYMode);
sandeepmalladi 0:90cd7e5e24af 203
sandeepmalladi 0:90cd7e5e24af 204 /* Register Get Value Commands */
sandeepmalladi 0:90cd7e5e24af 205 int GetChannel(void);
sandeepmalladi 0:90cd7e5e24af 206 int GetGain(void);
sandeepmalladi 0:90cd7e5e24af 207 int GetPGABypass(void);
sandeepmalladi 0:90cd7e5e24af 208 int GetDataRate(void);
sandeepmalladi 0:90cd7e5e24af 209 int GetClockMode(void);
sandeepmalladi 0:90cd7e5e24af 210 int GetPowerDown(void);
sandeepmalladi 0:90cd7e5e24af 211 int GetTemperatureMode(void);
sandeepmalladi 0:90cd7e5e24af 212 int GetBurnOutSource(void);
sandeepmalladi 0:90cd7e5e24af 213 int GetVoltageReference(void);
sandeepmalladi 0:90cd7e5e24af 214 int Get50_60Rejection(void);
sandeepmalladi 0:90cd7e5e24af 215 int GetLowSidePowerSwitch(void);
sandeepmalladi 0:90cd7e5e24af 216 int GetCurrentDACOutput(void);
sandeepmalladi 0:90cd7e5e24af 217 int GetIDACRouting(int WhichOne);
sandeepmalladi 0:90cd7e5e24af 218 int GetDRDYMode(void);
sandeepmalladi 0:90cd7e5e24af 219
sandeepmalladi 0:90cd7e5e24af 220 /* Useful Functions within Main Program for Setting Register Contents
sandeepmalladi 0:90cd7e5e24af 221 *
sandeepmalladi 0:90cd7e5e24af 222 * These functions show the programming flow based on the header definitions.
sandeepmalladi 0:90cd7e5e24af 223 * The calls are not made within the demo example, but could easily be used by calling the function
sandeepmalladi 0:90cd7e5e24af 224 * defined within the program to complete a fully useful program.
sandeepmalladi 0:90cd7e5e24af 225 * Similar function calls were made in the firwmare design for the ADS1220EVM.
sandeepmalladi 0:90cd7e5e24af 226 *
sandeepmalladi 0:90cd7e5e24af 227 * The following function calls use ASCII data sent from a COM port to control settings
sandeepmalladi 0:90cd7e5e24af 228 * on the ADS1220. The data is recontructed from ASCII and then combined with the
sandeepmalladi 0:90cd7e5e24af 229 * register contents to save as new configuration settings.
sandeepmalladi 0:90cd7e5e24af 230 *
sandeepmalladi 0:90cd7e5e24af 231 * Function names correspond to datasheet register definitions
sandeepmalladi 0:90cd7e5e24af 232 */
sandeepmalladi 1:85ab9e2aab24 233 void set_MUX(int c);
sandeepmalladi 0:90cd7e5e24af 234 void set_GAIN(char c);
sandeepmalladi 0:90cd7e5e24af 235 void set_PGA_BYPASS(char c);
sandeepmalladi 0:90cd7e5e24af 236 void set_DR(char c);
sandeepmalladi 0:90cd7e5e24af 237 void set_MODE(char c);
sandeepmalladi 0:90cd7e5e24af 238 void set_CM(char c);
sandeepmalladi 0:90cd7e5e24af 239 void set_TS(char c);
sandeepmalladi 0:90cd7e5e24af 240 void set_BCS(char c);
sandeepmalladi 0:90cd7e5e24af 241 void set_VREF(char c);
sandeepmalladi 0:90cd7e5e24af 242 void set_50_60(char c);
sandeepmalladi 0:90cd7e5e24af 243 void set_PSW(char c);
sandeepmalladi 0:90cd7e5e24af 244 void set_IDAC(char c);
sandeepmalladi 0:90cd7e5e24af 245 void set_IMUX(char c, int i);
sandeepmalladi 0:90cd7e5e24af 246 void set_DRDYM(char c);
sandeepmalladi 0:90cd7e5e24af 247 void set_ERROR(void);
sandeepmalladi 0:90cd7e5e24af 248 void set_ERROR_Transmit(void);
sandeepmalladi 0:90cd7e5e24af 249 void set_ERROR_Receive(void);
sandeepmalladi 0:90cd7e5e24af 250
sandeepmalladi 0:90cd7e5e24af 251 private:
sandeepmalladi 1:85ab9e2aab24 252 SPI _device;
sandeepmalladi 1:85ab9e2aab24 253 DigitalOut nCS_;
sandeepmalladi 0:90cd7e5e24af 254 uint8_t _address;
sandeepmalladi 0:90cd7e5e24af 255 uint8_t _Comdelay;
sandeepmalladi 0:90cd7e5e24af 256
sandeepmalladi 0:90cd7e5e24af 257 size_t printNumber(unsigned long n, uint8_t base);
sandeepmalladi 0:90cd7e5e24af 258 size_t printFloat(double number, uint8_t digits);
sandeepmalladi 0:90cd7e5e24af 259 };
sandeepmalladi 0:90cd7e5e24af 260
sandeepmalladi 0:90cd7e5e24af 261 #endif /*ADS1220_H_*/