Go to the documentation of this file.
41 #ifdef XILINX_PLATFORM
50 #define AD7616_REG_PCORE_VERSION 0x400
51 #define AD7616_REG_ID 0x404
52 #define AD7616_REG_UP_SCRATCH 0x408
53 #define AD7616_REG_UP_IF_TYPE 0x40C
54 #define AD7616_REG_UP_CTRL 0x440
55 #define AD7616_REG_UP_CONV_RATE 0x444
56 #define AD7616_REG_UP_BURST_LENGTH 0x448
57 #define AD7616_REG_UP_READ_DATA 0x44C
58 #define AD7616_REG_UP_WRITE_DATA 0x450
61 #define AD7616_CTRL_RESETN (1 << 0)
62 #define AD7616_CTRL_CNVST_EN (1 << 1)
64 #define AD7616_REG_CONFIG 0x02
65 #define AD7616_REG_CHANNEL 0x03
66 #define AD7616_REG_INPUT_RANGE_A1 0x04
67 #define AD7616_REG_INPUT_RANGE_A2 0x05
68 #define AD7616_REG_INPUT_RANGE_B1 0x06
69 #define AD7616_REG_INPUT_RANGE_B2 0x07
70 #define AD7616_REG_SEQUENCER_STACK(x) (0x20 + (x))
73 #define AD7616_SDEF (1 << 7)
74 #define AD7616_BURSTEN(x) ((x & 1) << 6)
75 #define AD7616_BURSTEN_MASK (1 << 6)
76 #define AD7616_SEQEN(x) ((x & 1) << 5)
77 #define AD7616_SEQEN_MASK (1 << 5)
78 #define AD7616_OS(x) (((x) & 0x7) << 2)
79 #define AD7616_STATUSEN (1 << 1)
80 #define AD7616_STATUSEN_MASK (1 << 1)
81 #define AD7616_CRCEN (1 << 0)
82 #define AD7616_CRCEN_MASK (1 << 0)
85 #define AD7616_CHA_MASK 0xF
86 #define AD7616_CHB_MASK 0xF0
87 #define AD7616_CHB_OFFSET 4
88 #define AD7616_CHANNELS_MASK 0xFF
91 #define AD7616_INPUT_RANGE(ch, x) (((x) & 0x3) << (((ch) & 0x3) * 2))
94 #define AD7616_ADDR(x) (((x) & 0x7F) << 9)
95 #define AD7616_SSREN (1 << 8)
96 #define AD7616_BSEL(x) (((x) & 0xF) << 4)
97 #define AD7616_ASEL(x) (((x) & 0xF) << 0)
100 #define AD7616_STATUS_A(x) (((x) & 0xF) << 12)
101 #define AD7616_STATUS_B(x) (((x) & 0xF) << 8)
102 #define AD7616_STATUS_CRC(x) (((x) & 0xFF) << 0)
105 #define AD7616_CHANNEL_A_SELF_TEST_VALUE 0xAAAA
106 #define AD7616_CHANNEL_B_SELF_TEST_VALUE 0x5555
109 #define AD7616_TRIGGER_PULSE_WIDTH_NS 50
int32_t ad7616_write_mask(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t mask, uint16_t data)
Definition: ad7616.c:383
@ AD7616_VA7
Definition: ad7616.h:132
@ AD7616_OSR_32
Definition: ad7616.h:165
struct no_os_gpio_desc * gpio_os2
Definition: ad7616.h:186
int32_t ad7616_set_oversampling_ratio(struct ad7616_dev *dev, enum ad7616_osr osr)
Definition: ad7616.c:581
uint32_t timeout
Definition: ad413x.c:49
uint32_t base
Definition: axi_dmac.h:129
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
#define AD7616_REG_INPUT_RANGE_B2
Definition: ad7616.h:69
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
#define AD7616_STATUSEN
Definition: ad7616.h:79
ad7616_osr
Definition: ad7616.h:159
#define AD7616_REG_INPUT_RANGE_A2
Definition: ad7616.h:67
struct no_os_gpio_init_param * gpio_hw_rngsel0_param
Definition: ad7616.h:215
@ AD7616_VB6
Definition: ad7616.h:144
int32_t ad7616_setup_sequencer(struct ad7616_dev *dev, struct ad7616_sequencer_layer *layers, uint32_t layers_nb, uint8_t burst)
Setup the sequencer layers.
Definition: ad7616.c:842
int32_t ad7616_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:340
int32_t ad7616_spi_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:412
#define AD7616_REG_CHANNEL
Definition: ad7616.h:65
ad7616_mode
Definition: ad7616.h:114
enum ad7616_range va[8]
Definition: ad7616.h:194
@ AD7616_VA3
Definition: ad7616.h:128
ad7616_interface
Definition: ad7616.h:119
struct no_os_gpio_desc * gpio_os1
Definition: ad7616.h:185
int32_t ad7616_spi_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:438
@ AD7616_VA5
Definition: ad7616.h:130
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
uint16_t channel_a
Definition: ad7616.h:234
void ad7616_remove(struct ad7616_dev *device)
Definition: ad7616.c:1063
Definition: axi_dmac.h:127
const char * name
Definition: axi_dmac.h:128
struct no_os_spi_desc * spi_desc
Definition: ad7616.h:172
int32_t ad7616_read_data_parallel(struct ad7616_dev *dev, uint32_t *buf, uint32_t samples)
Read from device in parallel mode. Enter register mode to read/write registers.
Definition: ad7616.c:753
#define AD7616_CHA_MASK
Definition: ad7616.h:85
#define CS_LOW
Definition: spi_engine.h:73
int32_t ad7616_self_test(struct ad7616_dev *dev)
Perform a self test. Channels selection will be left untouched.
Definition: ad7616.c:893
int32_t ad7616_par_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:704
Header file of SPI Interface.
uint8_t crc
Definition: ad7616.h:213
int32_t ad7616_setup(struct ad7616_dev **device, struct ad7616_init_param *init_param)
Definition: ad7616.c:941
struct no_os_gpio_init_param * gpio_busy_param
Definition: ad7616.h:222
int32_t spi_engine_offload_init(struct no_os_spi_desc *desc, const struct spi_engine_offload_init_param *param)
Initialize the SPI engine's offload module.
Definition: spi_engine.c:763
int32_t no_os_pwm_remove(struct no_os_pwm_desc *desc)
Free the resources allocated by no_os_pwm_init().
Definition: no_os_pwm.c:79
Driver for the Analog Devices AXI CLKGEN.
struct no_os_gpio_init_param * gpio_reset_param
Definition: ad7616.h:217
int32_t axi_dmac_transfer_wait_completion(struct axi_dmac *dmac, uint32_t timeout_ms)
Definition: axi_dmac.c:525
int32_t no_os_gpio_get_value(struct no_os_gpio_desc *desc, uint8_t *value)
Get the value of the specified GPIO.
Definition: no_os_gpio.c:221
#define SPI_ENGINE_WORDS_PER_READ
Definition: ad7616.c:65
int32_t ad7616_setup(struct ad7616_dev **device, struct ad7616_init_param *init_param)
Definition: ad7616.c:941
uint32_t * commands_data
Definition: spi_engine.h:167
Header file of Delay functions.
enum ad7616_range vb[8]
Definition: ad7616.h:195
Definition: clk_axi_clkgen.h:50
int32_t axi_clkgen_set_rate(struct axi_clkgen *clkgen, uint32_t rate)
axi_clkgen_set_rate
Definition: clk_axi_clkgen.c:414
int32_t ad7616_par_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:730
struct no_os_gpio_desc * gpio_hw_rngsel0
Definition: ad7616.h:181
Structure representing an offload message.
Definition: spi_engine.h:158
#define AD7616_REG_UP_READ_DATA
Definition: ad7616.h:57
Definition: ad9361_util.h:69
@ AD7616_SERIAL
Definition: ad7616.h:120
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
@ AD7616_VB_SELF_TEST
Definition: ad7616.h:149
@ AD7616_VA1
Definition: ad7616.h:126
int32_t axi_clkgen_init(struct axi_clkgen **clk, const struct axi_clkgen_init *init)
axi_clkgen_init
Definition: clk_axi_clkgen.c:520
#define AD7616_REG_SEQUENCER_STACK(x)
Definition: ad7616.h:70
@ AD7616_VA_RESERVED1
Definition: ad7616.h:135
Definition: clk_axi_clkgen.h:44
@ AD7616_HW
Definition: ad7616.h:116
void * no_os_calloc(size_t nitems, size_t size)
Allocate memory and return a pointer to it, set memory to 0.
Definition: chibios_alloc.c:54
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
int32_t no_os_gpio_direction_input(struct no_os_gpio_desc *desc)
Enable the input direction of the specified GPIO.
Definition: no_os_gpio.c:124
enum ad7616_mode mode
Definition: ad7616.h:226
@ AD7616_VA0
Definition: ad7616.h:125
int32_t ad7616_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:323
@ AD7616_PARALLEL
Definition: ad7616.h:121
int32_t ad7616_set_mode(struct ad7616_dev *dev, enum ad7616_mode mode)
Definition: ad7616.c:552
struct spi_engine_offload_init_param * offload_init_param
Definition: ad7616.h:173
int32_t ad7616_set_range(struct ad7616_dev *dev, enum ad7616_ch ch, enum ad7616_range range)
Definition: ad7616.c:497
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
Header file of AD7616 Driver.
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:115
int32_t ad7616_read_data_serial(struct ad7616_dev *dev, struct ad7616_conversion_result *results, uint32_t samples)
Read conversion result from device, checking with CRC if enabled.
Definition: ad7616.c:664
#define AD7616_CRCEN_MASK
Definition: ad7616.h:82
uint32_t reg_access_speed
Definition: ad7616.h:212
@ AD7616_OSR_128
Definition: ad7616.h:167
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
Definition: axi_dmac.h:102
struct no_os_pwm_desc * trigger_pwm_desc
Definition: ad7616.h:177
uint32_t core_baseaddr
Definition: ad7616.h:224
uint32_t core_baseaddr
Definition: ad7616.h:190
int32_t ad7616_spi_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:412
@ AD7616_VB7
Definition: ad7616.h:145
#define CS_HIGH
Definition: spi_engine.h:72
struct no_os_gpio_init_param * gpio_os0_param
Definition: ad7616.h:218
void spi_engine_set_speed(struct no_os_spi_desc *desc, uint32_t speed_hz)
Set SPI engine clock frequency.
Definition: spi_engine.c:148
@ AD7616_OSR_2
Definition: ad7616.h:161
int32_t no_os_pwm_enable(struct no_os_pwm_desc *desc)
Enable PWM signal generation.
Definition: no_os_pwm.c:98
@ AD7616_5V
Definition: ad7616.h:155
#define AD7616_STATUSEN_MASK
Definition: ad7616.h:80
@ AD7616_OSR_0
Definition: ad7616.h:160
struct no_os_gpio_init_param * gpio_os1_param
Definition: ad7616.h:219
#define AD7616_CRCEN
Definition: ad7616.h:81
@ AD7616_VB5
Definition: ad7616.h:143
@ IRQ_DISABLED
Definition: axi_dmac.h:79
struct no_os_gpio_init_param * gpio_convst_param
Definition: ad7616.h:221
struct spi_engine_offload_init_param * offload_init_param
Definition: ad7616.h:205
#define AD7616_INPUT_RANGE(ch, x)
Definition: ad7616.h:91
@ AD7616_VB_VCC
Definition: ad7616.h:146
@ AD7616_VA_ALDO
Definition: ad7616.h:134
#define AD7616_SEQEN_MASK
Definition: ad7616.h:77
uint16_t channel_b
Definition: ad7616.h:235
ad7616_range
Definition: ad7616.h:153
struct no_os_pwm_init_param * trigger_pwm_init
Definition: ad7616.h:207
#define AD7616_BURSTEN(x)
Definition: ad7616.h:74
struct no_os_gpio_desc * gpio_convst
Definition: ad7616.h:187
#define AD7616_CHANNELS_MASK
Definition: ad7616.h:88
struct axi_clkgen * clkgen
Definition: ad7616.h:175
@ AD7616_VB_ALDO
Definition: ad7616.h:147
@ AD7616_OSR_8
Definition: ad7616.h:163
@ AD7616_VA_VCC
Definition: ad7616.h:133
int32_t ad7616_core_setup(struct ad7616_dev *dev)
Driver for the Analog Devices AXI-DMAC core.
@ AD7616_2V5
Definition: ad7616.h:154
enum ad7616_ch ch_a
Definition: ad7616.h:239
int32_t ad7616_write_mask(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t mask, uint16_t data)
Definition: ad7616.c:383
#define AD7616_SEQEN(x)
Definition: ad7616.h:76
uint32_t reg_access_speed
Definition: ad7616.h:178
@ AD7616_OSR_4
Definition: ad7616.h:162
int32_t ad7616_read_channel_source(struct ad7616_dev *dev, enum ad7616_ch *ch_a, enum ad7616_ch *ch_b)
Read the current selected channels.
Definition: ad7616.c:300
int32_t ad7616_set_oversampling_ratio(struct ad7616_dev *dev, enum ad7616_osr osr)
Definition: ad7616.c:581
@ AD7616_VB_RESERVED2
Definition: ad7616.h:150
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
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
@ AD7616_VB_RESERVED1
Definition: ad7616.h:148
enum ad7616_range vb[8]
Definition: ad7616.h:228
int32_t ad7616_setup_sequencer(struct ad7616_dev *dev, struct ad7616_sequencer_layer *layers, uint32_t layers_nb, uint8_t burst)
Setup the sequencer layers.
Definition: ad7616.c:842
int32_t no_os_axi_io_read(uint32_t base, uint32_t offset, uint32_t *data)
AXI IO Altera specific read function.
Definition: altera_axi_io.c:53
int32_t ad7616_read_channel_source(struct ad7616_dev *dev, enum ad7616_ch *ch_a, enum ad7616_ch *ch_b)
Read the current selected channels.
Definition: ad7616.c:300
enum ad7616_interface interface
Definition: ad7616.h:192
#define AD7616_SSREN
Definition: ad7616.h:95
enum ad7616_osr osr
Definition: ad7616.h:229
int32_t ad7616_read_mask(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t mask, uint16_t *data)
Definition: ad7616.c:358
enum use_irq irq_option
Definition: axi_dmac.h:130
#define AD7616_REG_UP_CTRL
Definition: ad7616.h:54
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
#define AD7616_REG_UP_IF_TYPE
Definition: ad7616.h:53
int32_t ad7616_spi_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:438
@ AD7616_VA4
Definition: ad7616.h:129
#define AD7616_CTRL_CNVST_EN
Definition: ad7616.h:62
@ AD7616_VB1
Definition: ad7616.h:139
int32_t ad7616_read_data_parallel(struct ad7616_dev *dev, uint32_t *buf, uint32_t samples)
Read from device in parallel mode. Enter register mode to read/write registers.
Definition: ad7616.c:753
uint32_t rx_dma_baseaddr
Definition: spi_engine.h:145
@ AD7616_VA_SELF_TEST
Definition: ad7616.h:136
Structure representing an PWM generator device.
Definition: no_os_pwm.h:93
int32_t ad7616_set_mode(struct ad7616_dev *dev, enum ad7616_mode mode)
Definition: ad7616.c:552
int32_t ad7616_select_channel_source(struct ad7616_dev *dev, enum ad7616_ch ch)
Select a new source for a channel.
Definition: ad7616.c:278
int32_t ad7616_read_mask(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t mask, uint16_t *data)
Definition: ad7616.c:358
int32_t ad7616_set_range(struct ad7616_dev *dev, enum ad7616_ch ch, enum ad7616_range range)
Definition: ad7616.c:497
int32_t no_os_pwm_init(struct no_os_pwm_desc **desc, const struct no_os_pwm_init_param *param)
Initialize the PWM peripheral.
Definition: no_os_pwm.c:51
int32_t ad7616_reset(struct ad7616_dev *dev)
Definition: ad7616.c:457
void(* dcache_invalidate_range)(uint32_t address, uint32_t bytes_count)
Definition: ad7616.h:230
uint32_t axi_clkgen_rate
Definition: ad7616.h:211
enum ad7616_ch ch_b
Definition: ad7616.h:240
int32_t ad7616_disable_sequencer(struct ad7616_dev *dev)
Definition: ad7616.c:880
enum ad7616_range va[8]
Definition: ad7616.h:227
Header file of PWM Interface.
#define AD7616_CHB_OFFSET
Definition: ad7616.h:87
#define AD7616_OS(x)
Definition: ad7616.h:78
@ AD7616_SW
Definition: ad7616.h:115
#define AD7616_TOGGLE_TIMEOUT_DELAY
Definition: ad7616.c:64
int32_t ad7616_reset(struct ad7616_dev *dev)
Definition: ad7616.c:457
#define AD7616_CHANNEL_A_SELF_TEST_VALUE
Definition: ad7616.h:105
@ AD7616_OSR_64
Definition: ad7616.h:166
@ NO
Definition: axi_dmac.h:98
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
@ AD7616_VB2
Definition: ad7616.h:140
int32_t ad7616_par_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:730
struct no_os_gpio_desc * gpio_busy
Definition: ad7616.h:188
@ AD7616_VB0
Definition: ad7616.h:138
#define AD7616_REG_INPUT_RANGE_B1
Definition: ad7616.h:68
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
int32_t ad7616_write(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7616.c:340
@ AD7616_10V
Definition: ad7616.h:156
uint8_t crc
Definition: ad7616.h:179
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:197
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
int32_t ad7616_select_channel_source(struct ad7616_dev *dev, enum ad7616_ch ch)
Select a new source for a channel.
Definition: ad7616.c:278
struct axi_clkgen_init * clkgen_init
Definition: ad7616.h:209
struct no_os_gpio_init_param * gpio_hw_rngsel1_param
Definition: ad7616.h:216
enum ad7616_osr osr
Definition: ad7616.h:196
@ AD7616_VB4
Definition: ad7616.h:142
#define AD7616_CHB_MASK
Definition: ad7616.h:86
#define AD7616_CTRL_RESETN
Definition: ad7616.h:61
#define AD7616_CHANNEL_B_SELF_TEST_VALUE
Definition: ad7616.h:106
void(* dcache_invalidate_range)(uint32_t address, uint32_t bytes_count)
Definition: ad7616.h:197
int32_t ad7616_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:323
@ AD7616_VA2
Definition: ad7616.h:127
#define AD7616_GET_BIT(v, b)
Definition: ad7616.c:63
int32_t spi_engine_offload_transfer(struct no_os_spi_desc *desc, struct spi_engine_offload_message msg, uint32_t no_samples)
Initiate a SPI transfer in offload mode.
Definition: spi_engine.c:809
@ AD7616_OSR_16
Definition: ad7616.h:164
int32_t no_os_axi_io_write(uint32_t base, uint32_t offset, uint32_t data)
AXI IO Altera specific write function.
Definition: altera_axi_io.c:67
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
@ AD7616_VB3
Definition: ad7616.h:141
int32_t ad7616_read_data_serial(struct ad7616_dev *dev, struct ad7616_conversion_result *results, uint32_t samples)
Read conversion result from device, checking with CRC if enabled.
Definition: ad7616.c:664
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
Header file of GPIO Interface.
#define AD7616_REG_UP_CONV_RATE
Definition: ad7616.h:55
uint8_t layers_nb
Definition: ad7616.h:199
uint32_t max_speed_hz
Definition: no_os_spi.h:198
void ad7616_remove(struct ad7616_dev *dev)
Definition: ad7616.c:1063
#define AD7616_REG_UP_WRITE_DATA
Definition: ad7616.h:58
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
struct no_os_gpio_desc * gpio_os0
Definition: ad7616.h:184
uint16_t no_os_get_unaligned_be16(uint8_t *buf)
#define AD7616_REG_INPUT_RANGE_A1
Definition: ad7616.h:66
int32_t axi_dmac_transfer_start(struct axi_dmac *dmac, struct axi_dma_transfer *dma_transfer)
Definition: axi_dmac.c:385
enum ad7616_mode mode
Definition: ad7616.h:193
#define AD7616_BURSTEN_MASK
Definition: ad7616.h:75
struct no_os_gpio_desc * gpio_reset
Definition: ad7616.h:183
int32_t axi_clkgen_remove(struct axi_clkgen *clkgen)
axi_clkgen_remove
Definition: clk_axi_clkgen.c:541
Header file of utility functions.
struct no_os_gpio_desc * gpio_hw_rngsel1
Definition: ad7616.h:182
#define AD7616_REG_CONFIG
Definition: ad7616.h:64
enum no_os_spi_mode mode
Definition: no_os_spi.h:202
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
ad7616_ch
Definition: ad7616.h:124
@ AD7616_VA_RESERVED2
Definition: ad7616.h:137
uint32_t size
Definition: axi_dmac.h:103
struct no_os_gpio_init_param * gpio_os2_param
Definition: ad7616.h:220
@ AD7616_VA6
Definition: ad7616.h:131
#define READ(no_bytes)
Definition: spi_engine.h:62
struct no_os_spi_init_param * spi_param
Definition: ad7616.h:204
int32_t ad7616_disable_sequencer(struct ad7616_dev *dev)
Definition: ad7616.c:880
Definition: axi_dmac.h:110
int32_t ad7616_par_read(struct ad7616_dev *dev, uint8_t reg_addr, uint16_t *reg_data)
Definition: ad7616.c:704
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
int32_t no_os_gpio_get_optional(struct no_os_gpio_desc **desc, const struct no_os_gpio_init_param *param)
Get the value of an optional GPIO.
Definition: no_os_gpio.c:75