#ifndef SPI_AD5624R_H_
#define SPI_AD5624R_H_

#define AD5624R_DAC_CHANNELS	4

#define AD5624R_ADDR_DAC0	0x0
#define AD5624R_ADDR_DAC1	0x1
#define AD5624R_ADDR_DAC2	0x2
#define AD5624R_ADDR_DAC3	0x3
#define AD5624R_ADDR_ALL_DAC	0x7

#define AD5624R_CMD_WRITE_INPUT_N             0x0
#define AD5624R_CMD_UPDATE_DAC_N              0x1
#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_ALL  0x2
#define AD5624R_CMD_WRITE_INPUT_N_UPDATE_N    0x3
#define AD5624R_CMD_POWERDOWN_DAC             0x4
#define AD5624R_CMD_RESET                     0x5
#define AD5624R_CMD_LDAC_SETUP                0x6
#define AD5624R_CMD_INTERNAL_REFER_SETUP      0x7

#endif
