no-OS
ad5686.h
Go to the documentation of this file.
1 /***************************************************************************/
37 /*****************************************************************************/
38 /***************************** Include Files *********************************/
39 /*****************************************************************************/
40 #include <stdint.h>
41 #include "no_os_gpio.h"
42 #include "no_os_spi.h"
43 #include "no_os_i2c.h"
44 
45 /* Control Bits */
46 #define AD5686_CTRL_NOP 0
47 #define AD5686_CTRL_WRITE 1
48 #define AD5686_CTRL_UPDATE 2
49 #define AD5686_CTRL_WRITEUPDATE 3
50 #define AD5686_CTRL_PWR 4
51 #define AD5686_CTRL_LDAC_MASK 5
52 #define AD5686_CTRL_SWRESET 6
53 #define AD5686_CTRL_IREF_REG 7
54 #define AD5686_CTRL_DCEN 8
55 #define AD5686_CTRL_RB_REG 9
56 
57 #define AD5683_CMD_WR_CTRL_REG 4
58 #define AD5683_CTRL_RB_REG 5
59 
60 /* Power-down operation modes masks */
61 #define AD5686_PWRM_NORMAL 0
62 #define AD5686_PWRM_1K 1
63 #define AD5686_PWRM_100K 2
64 #define AD5686_PWRM_THREESTATE 3
65 
66 #define AD5686_PWRM_MASK 3
67 
68 /* Enable/disable defines */
69 #define AD5686_INTREF_EN 1
70 #define AD5686_INTREF_DIS 0
71 #define AD5686_DC_EN 1
72 #define AD5686_DC_DIS 0
73 #define AD5686_RB_EN 1
74 #define AD5686_RB_DIS 0
75 
76 #define MAX_RESOLUTION 16 // Maximum resolution of the supported devices
77 
78 #define PKT_LENGTH 3 // SPI packet length in byte
79 
80 #define ADDR_MASK 0xFF // Mask for Address bits
81 #define CMD_OFFSET 4 // Offset for Command
82 
83 #define AD5686_CMD_MASK 0xFF
84 #define AD5686_MSB_MASK 0xFF00 // Most significant byte of the data word
85 #define AD5686_MSB_OFFSET 8
86 #define AD5686_LSB_MASK 0x00FF // Least significant byte of the data word
87 #define AD5686_LSB_OFFSET 0
88 
89 #define AD5683_MIDB_OFFSET 4 // Offset for middle bits
90 #define AD5683_MIDB_MASK 0xFF
91 #define AD5683_MSB_OFFSET 12
92 #define AD5683_MSB_MASK 0xF
93 #define AD5683_CMD_MASK 0xF
94 #define AD5683_LSB_MASK 0xF
95 #define AD5683_LSB_OFFSET 4
96 
97 #define AD5683_REG_MAP 0
98 #define AD5686_REG_MAP 1
99 
100 /********************** AD5683 Write Control Register Bits ********************/
101 
102 #define AD5683_CTRL_DCEN(x) (((((x) & 0x1) << 0) << 10) & 0xFC00)
103 #define AD5683_CTRL_GM(x) (((((x) & 0x1) << 1) << 10) & 0xFC00)
104 #define AD5683_CTRL_INT_REF(x) (((((x) & 0x1) << 2) << 10) & 0xFC00)
105 #define AD5683_CTRL_PWRM(x) (((((x) & 0x3) << 3) << 10) & 0xFC00)
106 #define AD5683_SW_RESET ((((0x1) << 5) << 10) & 0xFC00)
107 
108 /******************************************************************************/
109 /*************************** Types Declarations *******************************/
110 /******************************************************************************/
111 
112 /* Supported devices */
147 };
148 
149 enum comm_type {
152 };
153 
171 };
172 
174  uint8_t resolution;
175  uint8_t register_map;
177  const uint32_t *channel_addr;
178 };
179 
180 struct ad5686_dev {
181  /* I2C */
183  /* SPI */
185  /* GPIO */
189  /* Device Settings */
191  uint32_t power_down_mask;
192  uint32_t ldac_mask;
193 };
194 
196  /* I2C */
198  /* SPI */
200  /* GPIO */
204  /* Device Settings */
206 };
207 
208 /******************************************************************************/
209 /************************ Functions Declarations ******************************/
210 /******************************************************************************/
211 /* Initialize SPI and Initial Values for AD5686 Board. */
212 int32_t ad5686_init(struct ad5686_dev **device,
214 
215 /* Free the resources allocated by ad5686_init(). */
216 int32_t ad5686_remove(struct ad5686_dev *dev);
217 
218 /* Write to input register */
219 uint16_t ad5686_set_shift_reg(struct ad5686_dev *dev,
220  uint8_t command,
221  uint8_t address,
222  uint16_t data);
223 
224 /* Write to Input Register n (dependent on LDAC) */
225 void ad5686_write_register(struct ad5686_dev *dev,
226  enum ad5686_dac_channels channel,
227  uint16_t data);
228 
229 /* Update DAC Register n with contents of Input Register n */
230 void ad5686_update_register(struct ad5686_dev *dev,
231  enum ad5686_dac_channels channel);
232 
233 /* Write to and update DAC channel n */
235  enum ad5686_dac_channels channel,
236  uint16_t data);
237 
238 /* Read back Input Register n */
239 uint16_t ad5686_read_back_register(struct ad5686_dev *dev,
240  enum ad5686_dac_channels channel);
241 
242 /* Power down / power up DAC */
243 void ad5686_power_mode(struct ad5686_dev *dev,
244  enum ad5686_dac_channels channel,
245  uint8_t mode);
246 
247 /* Set up LDAC mask register */
248 void ad5686_ldac_mask(struct ad5686_dev *dev,
249  enum ad5686_dac_channels channel,
250  uint8_t enable);
251 
252 /* Software reset (power-on reset) */
253 void ad5686_software_reset(struct ad5686_dev *dev);
254 
255 /* Write to Internal reference setup register */
256 void ad5686_internal_reference(struct ad5686_dev *dev,
257  uint8_t value);
258 
259 /* Set up DCEN register (daisy-chain enable) */
260 void ad5686_daisy_chain_en(struct ad5686_dev *dev,
261  uint8_t value);
262 
263 /* Set up readback register (readback enable) */
264 void ad5686_read_back_en(struct ad5686_dev *dev,
265  uint8_t value);
266 
267 /* Set Gain mode */
268 int32_t ad5686_gain_mode(struct ad5686_dev *dev, uint8_t value);
ID_AD5684R
@ ID_AD5684R
Definition: ad5686.h:126
no_os_alloc.h
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
ad5686_dev::gpio_ldac
struct no_os_gpio_desc * gpio_ldac
Definition: ad5686.h:187
AD5686_CTRL_RB_REG
#define AD5686_CTRL_RB_REG
Definition: ad5686.h:55
I2C
@ I2C
Definition: ad5686.h:151
no_os_i2c_write
int32_t no_os_i2c_write(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Write data to slave device.
Definition: no_os_i2c.c:159
no_os_i2c_init
int32_t no_os_i2c_init(struct no_os_i2c_desc **desc, const struct no_os_i2c_init_param *param)
Initialize the I2C communication peripheral.
Definition: no_os_i2c.c:52
AD5686_CH_7
@ AD5686_CH_7
Definition: ad5686.h:162
ad5686_chip_info::register_map
uint8_t register_map
Definition: ad5686.h:175
AD5686_CH_2
@ AD5686_CH_2
Definition: ad5686.h:157
ID_AD5676
@ ID_AD5676
Definition: ad5686.h:120
ad5686_read_back_en
void ad5686_read_back_en(struct ad5686_dev *dev, uint8_t value)
Set up readback register (readback enable)
Definition: ad5686.c:733
AD5686_CTRL_NOP
#define AD5686_CTRL_NOP
Definition: ad5686.h:46
no_os_spi_write_and_read
int32_t no_os_spi_write_and_read(struct no_os_spi_desc *desc, uint8_t *data, uint16_t bytes_number)
Write and read data to/from SPI.
Definition: no_os_spi.c:159
ID_AD5689R
@ ID_AD5689R
Definition: ad5686.h:132
ID_AD5675R
@ ID_AD5675R
Definition: ad5686.h:119
AD5686_CTRL_DCEN
#define AD5686_CTRL_DCEN
Definition: ad5686.h:54
ad5686_gain_mode
int32_t ad5686_gain_mode(struct ad5686_dev *dev, uint8_t value)
Set Gain mode.
Definition: ad5686.c:751
no_os_spi.h
Header file of SPI Interface.
ad5686_dev::ldac_mask
uint32_t ldac_mask
Definition: ad5686.h:192
AD5686_CH_13
@ AD5686_CH_13
Definition: ad5686.h:168
AD5686_CH_9
@ AD5686_CH_9
Definition: ad5686.h:164
AD5683_MIDB_MASK
#define AD5683_MIDB_MASK
Definition: ad5686.h:90
ad5686_write_update_register
void ad5686_write_update_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint16_t data)
Write to and update DAC channel n.
Definition: ad5686.c:511
no_os_i2c_remove
int32_t no_os_i2c_remove(struct no_os_i2c_desc *desc)
Free the resources allocated by no_os_i2c_init().
Definition: no_os_i2c.c:113
AD5686_CTRL_WRITE
#define AD5686_CTRL_WRITE
Definition: ad5686.h:47
AD5686_CH_6
@ AD5686_CH_6
Definition: ad5686.h:161
ID_AD5692R
@ ID_AD5692R
Definition: ad5686.h:144
ad5686_dev::gpio_reset
struct no_os_gpio_desc * gpio_reset
Definition: ad5686.h:186
SPI
@ SPI
Definition: ad5686.h:150
CMD_OFFSET
#define CMD_OFFSET
Definition: ad5446.c:51
AD5683_SW_RESET
#define AD5683_SW_RESET
Definition: ad5686.h:106
AD5686_CH_8
@ AD5686_CH_8
Definition: ad5686.h:163
AD5683_MIDB_OFFSET
#define AD5683_MIDB_OFFSET
Definition: ad5686.h:89
AD5683_CTRL_DCEN
#define AD5683_CTRL_DCEN(x)
Definition: ad5686.h:102
ID_AD5681R
@ ID_AD5681R
Definition: ad5686.h:139
PKT_LENGTH
#define PKT_LENGTH
Definition: ad5446.c:52
ad5686_set_shift_reg
uint16_t ad5686_set_shift_reg(struct ad5686_dev *dev, uint8_t command, uint8_t address, uint16_t data)
Write to input shift register.
Definition: ad5686.c:384
device
Definition: ad9361_util.h:69
AD5683_CTRL_GM
#define AD5683_CTRL_GM(x)
Definition: ad5686.h:103
AD5686_CH_4
@ AD5686_CH_4
Definition: ad5686.h:159
NO_OS_GPIO_HIGH
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
ad5686.h
Header file of AD5686 Driver. This driver supporting the following devices: AD5684R,...
ad5686_ldac_mask
void ad5686_ldac_mask(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint8_t enable)
Set hardware LDAC mask register.
Definition: ad5686.c:657
ad5686_dev
Definition: ad5686.h:180
AD5683_CTRL_RB_REG
#define AD5683_CTRL_RB_REG
Definition: ad5686.h:58
AD5686_CH_0
@ AD5686_CH_0
Definition: ad5686.h:155
AD5686_CH_12
@ AD5686_CH_12
Definition: ad5686.h:167
AD5686_CH_3
@ AD5686_CH_3
Definition: ad5686.h:158
ad5686_daisy_chain_en
void ad5686_daisy_chain_en(struct ad5686_dev *dev, uint8_t value)
Set up DCEN register (daisy-chain enable)
Definition: ad5686.c:714
ad5686_init_param
Definition: ad5686.h:195
AD5683_CMD_WR_CTRL_REG
#define AD5683_CMD_WR_CTRL_REG
Definition: ad5686.h:57
ad5686_ldac_mask
void ad5686_ldac_mask(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint8_t enable)
Set hardware LDAC mask register.
Definition: ad5686.c:657
ID_AD5674R
@ ID_AD5674R
Definition: ad5686.h:118
ad5686_software_reset
void ad5686_software_reset(struct ad5686_dev *dev)
Software reset (power-on reset)
Definition: ad5686.c:675
ID_AD5693
@ ID_AD5693
Definition: ad5686.h:146
ad5686_read_back_register
uint16_t ad5686_read_back_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel)
Read back Input Register n.
Definition: ad5686.c:549
ad5686_dev::act_device
enum ad5686_type act_device
Definition: ad5686.h:190
NO_OS_GPIO_LOW
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:115
ad5686_dev::power_down_mask
uint32_t power_down_mask
Definition: ad5686.h:191
ID_AD5673R
@ ID_AD5673R
Definition: ad5686.h:116
AD5686_CTRL_UPDATE
#define AD5686_CTRL_UPDATE
Definition: ad5686.h:48
ad5686_gain_mode
int32_t ad5686_gain_mode(struct ad5686_dev *dev, uint8_t value)
Set Gain mode.
Definition: ad5686.c:751
ad5686_init_param::i2c_init
struct no_os_i2c_init_param i2c_init
Definition: ad5686.h:197
ID_AD5685R
@ ID_AD5685R
Definition: ad5686.h:127
ID_AD5686
@ ID_AD5686
Definition: ad5686.h:125
ad5686_write_register
void ad5686_write_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint16_t data)
Write to Input Register n (dependent on LDAC)
Definition: ad5686.c:443
AD5686_CTRL_IREF_REG
#define AD5686_CTRL_IREF_REG
Definition: ad5686.h:53
I2C
@ I2C
Definition: adxl372.h:317
ad5686_type
ad5686_type
Definition: ad5686.h:113
ID_AD5691R
@ ID_AD5691R
Definition: ad5686.h:143
ad5686_dev::spi_desc
struct no_os_spi_desc * spi_desc
Definition: ad5686.h:184
ad5686_init_param::act_device
enum ad5686_type act_device
Definition: ad5686.h:205
AD5686_MSB_OFFSET
#define AD5686_MSB_OFFSET
Definition: ad5686.h:85
ID_AD5687R
@ ID_AD5687R
Definition: ad5686.h:130
AD5683_MSB_OFFSET
#define AD5683_MSB_OFFSET
Definition: ad5686.h:91
ID_AD5697R
@ ID_AD5697R
Definition: ad5686.h:133
AD5683_LSB_OFFSET
#define AD5683_LSB_OFFSET
Definition: ad5686.h:95
AD5686_MSB_MASK
#define AD5686_MSB_MASK
Definition: ad5686.h:84
ID_AD5672R
@ ID_AD5672R
Definition: ad5686.h:115
ad5686_internal_reference
void ad5686_internal_reference(struct ad5686_dev *dev, uint8_t value)
Write to Internal reference setup register.
Definition: ad5686.c:694
ad5686_chip_info::resolution
uint8_t resolution
Definition: ad5686.h:174
ad5686_read_back_register
uint16_t ad5686_read_back_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel)
Read back Input Register n.
Definition: ad5686.c:549
AD5686_CH_11
@ AD5686_CH_11
Definition: ad5686.h:166
ad5686_set_shift_reg
uint16_t ad5686_set_shift_reg(struct ad5686_dev *dev, uint8_t command, uint8_t address, uint16_t data)
Write to input shift register.
Definition: ad5686.c:384
ad5686_chip_info
Definition: ad5686.h:173
ad5686_update_register
void ad5686_update_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel)
Update DAC Register n with contents of Input Register n.
Definition: ad5686.c:478
AD5686_CH_14
@ AD5686_CH_14
Definition: ad5686.h:169
ad5686_read_back_en
void ad5686_read_back_en(struct ad5686_dev *dev, uint8_t value)
Set up readback register (readback enable)
Definition: ad5686.c:733
AD5686_CTRL_PWR
#define AD5686_CTRL_PWR
Definition: ad5686.h:50
ad5686_write_register
void ad5686_write_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint16_t data)
Write to Input Register n (dependent on LDAC)
Definition: ad5686.c:443
ad5686_dev::i2c_desc
struct no_os_i2c_desc * i2c_desc
Definition: ad5686.h:182
ID_AD5694R
@ ID_AD5694R
Definition: ad5686.h:135
ad5686_chip_info::channel_addr
const uint32_t * channel_addr
Definition: ad5686.h:177
AD5686_CTRL_SWRESET
#define AD5686_CTRL_SWRESET
Definition: ad5686.h:52
ad5686_init_param::gpio_ldac
struct no_os_gpio_init_param gpio_ldac
Definition: ad5686.h:202
ad5686_power_mode
void ad5686_power_mode(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint8_t mode)
Set Power-down mode for DAC channel n.
Definition: ad5686.c:611
ID_AD5682R
@ ID_AD5682R
Definition: ad5686.h:140
ID_AD5696
@ ID_AD5696
Definition: ad5686.h:137
AD5683_CTRL_INT_REF
#define AD5683_CTRL_INT_REF(x)
Definition: ad5686.h:104
ad5686_software_reset
void ad5686_software_reset(struct ad5686_dev *dev)
Software reset (power-on reset)
Definition: ad5686.c:675
no_os_gpio_remove
int32_t no_os_gpio_remove(struct no_os_gpio_desc *desc)
Free the resources allocated by no_os_gpio_get().
Definition: no_os_gpio.c:104
AD5686_CH_5
@ AD5686_CH_5
Definition: ad5686.h:160
no_os_spi_desc
Structure holding SPI descriptor.
Definition: no_os_spi.h:171
ID_AD5677R
@ ID_AD5677R
Definition: ad5686.h:122
ID_AD5676R
@ ID_AD5676R
Definition: ad5686.h:121
ad5686_power_mode
void ad5686_power_mode(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint8_t mode)
Set Power-down mode for DAC channel n.
Definition: ad5686.c:611
ID_AD5683R
@ ID_AD5683R
Definition: ad5686.h:141
ID_AD5679
@ ID_AD5679
Definition: ad5686.h:123
ad5686_init
int32_t ad5686_init(struct ad5686_dev **device, struct ad5686_init_param init_param)
Initializes the communication peripheral and the initial Values for AD5686 Board.
Definition: ad5686.c:306
no_os_gpio_desc
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
ad5686_update_register
void ad5686_update_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel)
Update DAC Register n with contents of Input Register n.
Definition: ad5686.c:478
ID_AD5674
@ ID_AD5674
Definition: ad5686.h:117
ID_AD5687
@ ID_AD5687
Definition: ad5686.h:129
AD5686_CTRL_LDAC_MASK
#define AD5686_CTRL_LDAC_MASK
Definition: ad5686.h:51
ID_AD5696R
@ ID_AD5696R
Definition: ad5686.h:138
no_os_i2c_desc
Structure holding I2C address descriptor.
Definition: no_os_i2c.h:101
no_os_gpio_get
int32_t no_os_gpio_get(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Obtain the GPIO decriptor.
Definition: no_os_gpio.c:49
no_os_i2c_read
int32_t no_os_i2c_read(struct no_os_i2c_desc *desc, uint8_t *data, uint8_t bytes_number, uint8_t stop_bit)
I2C Read data from slave device.
Definition: no_os_i2c.c:190
no_os_malloc
void * no_os_malloc(size_t size)
Allocate memory and return a pointer to it.
Definition: chibios_alloc.c:43
AD5686_CH_1
@ AD5686_CH_1
Definition: ad5686.h:156
no_os_i2c.h
Header file of I2C Interface.
ID_AD5689
@ ID_AD5689
Definition: ad5686.h:131
AD5683_LSB_MASK
#define AD5683_LSB_MASK
Definition: ad5686.h:94
ad5686_daisy_chain_en
void ad5686_daisy_chain_en(struct ad5686_dev *dev, uint8_t value)
Set up DCEN register (daisy-chain enable)
Definition: ad5686.c:714
no_os_free
void no_os_free(void *ptr)
Deallocate memory previously allocated by a call to no_os_calloc or no_os_malloc.
Definition: chibios_alloc.c:69
AD5686_CH_15
@ AD5686_CH_15
Definition: ad5686.h:170
ad5686_init
int32_t ad5686_init(struct ad5686_dev **device, struct ad5686_init_param init_param)
Initializes the communication peripheral and the initial Values for AD5686 Board.
Definition: ad5686.c:306
ID_AD5679R
@ ID_AD5679R
Definition: ad5686.h:124
ID_AD5686R
@ ID_AD5686R
Definition: ad5686.h:128
ID_AD5695R
@ ID_AD5695R
Definition: ad5686.h:136
ad5686_dac_channels
ad5686_dac_channels
Definition: ad5686.h:154
no_os_i2c_init_param
Structure holding the parameters for I2C initialization.
Definition: no_os_i2c.h:64
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
AD5686_CMD_MASK
#define AD5686_CMD_MASK
Definition: ad5686.h:83
AD5683_MSB_MASK
#define AD5683_MSB_MASK
Definition: ad5686.h:92
MAX_RESOLUTION
#define MAX_RESOLUTION
Definition: ad5446.c:43
ad5686_chip_info::communication
enum comm_type communication
Definition: ad5686.h:176
AD5683_REG_MAP
#define AD5683_REG_MAP
Definition: ad5686.h:97
AD5686_CH_10
@ AD5686_CH_10
Definition: ad5686.h:165
no_os_spi_remove
int32_t no_os_spi_remove(struct no_os_spi_desc *desc)
Free the resources allocated by no_os_spi_init().
Definition: no_os_spi.c:116
no_os_gpio.h
Header file of GPIO Interface.
ad5686_internal_reference
void ad5686_internal_reference(struct ad5686_dev *dev, uint8_t value)
Write to Internal reference setup register.
Definition: ad5686.c:694
AD5683_CTRL_PWRM
#define AD5683_CTRL_PWRM(x)
Definition: ad5686.h:105
no_os_spi_init
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:52
ID_AD5683
@ ID_AD5683
Definition: ad5686.h:142
AD5686_REG_MAP
#define AD5686_REG_MAP
Definition: ad5686.h:98
ad5686_init_param::spi_init
struct no_os_spi_init_param spi_init
Definition: ad5686.h:199
comm_type
comm_type
Definition: ad5686.h:149
SPI
@ SPI
Definition: adxl372.h:316
AD5683_CMD_MASK
#define AD5683_CMD_MASK
Definition: ad5686.h:93
AD5686_CTRL_WRITEUPDATE
#define AD5686_CTRL_WRITEUPDATE
Definition: ad5686.h:49
ad5686_write_update_register
void ad5686_write_update_register(struct ad5686_dev *dev, enum ad5686_dac_channels channel, uint16_t data)
Write to and update DAC channel n.
Definition: ad5686.c:511
no_os_gpio_direction_output
int32_t no_os_gpio_direction_output(struct no_os_gpio_desc *desc, uint8_t value)
Enable the output direction of the specified GPIO.
Definition: no_os_gpio.c:147
ADDR_MASK
#define ADDR_MASK
Definition: ad5686.h:80
ad5686_init_param::gpio_gain
struct no_os_gpio_init_param gpio_gain
Definition: ad5686.h:203
ID_AD5693R
@ ID_AD5693R
Definition: ad5686.h:145
ad5686_remove
int32_t ad5686_remove(struct ad5686_dev *dev)
Free the resources allocated by ad5686_init().
Definition: ad5686.c:351
ad5686_dev::gpio_gain
struct no_os_gpio_desc * gpio_gain
Definition: ad5686.h:188
ad5686_init_param::gpio_reset
struct no_os_gpio_init_param gpio_reset
Definition: ad5686.h:201
AD5686_LSB_MASK
#define AD5686_LSB_MASK
Definition: ad5686.h:86
ID_AD5694
@ ID_AD5694
Definition: ad5686.h:134
ID_AD5671R
@ ID_AD5671R
Definition: ad5686.h:114
ad5686_remove
int32_t ad5686_remove(struct ad5686_dev *dev)
Free the resources allocated by ad5686_init().
Definition: ad5686.c:351
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:125