4 #define ADS_REG_BCS 0x00
8 #define ADS_REG_VBIAS 0x01
10 #define RVBIAS0 (1<<0)
12 #define ADS_REG_MUX1 0x02
13 #define RCLKSTAT (1<<7)
14 #define RMUXCAL2 (1<<2)
15 #define RMUXCAL1 (1<<1)
16 #define RMUXCAL0 (1<<0)
18 #define ADS_REG_SYS0 0x03
27 #define ADS_REG_OFC0 0x04
28 #define ADS_REG_OFC1 0x05
29 #define ADS_REG_OFC2 0x06
30 #define ADS_REG_FSC0 0x07
31 #define ADS_REG_FSC1 0x08
32 #define ADS_REG_FSC2 0x09
33 #define ADS_REG_ID 0x0A
34 #define RDRDY_MODE (1<<3)
36 #define ADS_CMD_WAKEUP 0x00
37 #define ADS_CMD_SLEEP 0x02
38 #define ADS_CMD_SYNC 0x04
39 #define ADS_CMD_RESET 0x06
40 #define ADS_CMD_PO_INIT 0x0E
41 #define ADS_CMD_NOP 0xFF
43 #define ADS_CMD_RDATA 0x12
44 #define ADS_CMD_RDATAC 0x14
45 #define ADS_CMD_SDATAC 0x16
47 #define ADS_CMD_RREG 0x20
48 #define ADS_CMD_WREG 0x40
50 #define ADS_CMD_SYSOCAL 0x60
51 #define ADS_CMD_SYSGCAL 0x61
52 #define ADS_CMD_SELFCAL 0x62
55 #endif /* _ADS1X46_H */