56#define AD796X_NUM_GPIOS 4
struct ad7616_init_param init_param
Definition ad7616_sdz.c:107
int32_t ad796x_read_data(struct ad796x_dev *dev, uint32_t *buf, uint16_t samples)
Read data samples from adc.
Definition ad796x.c:63
int ad796x_remove(struct ad796x_dev *dev)
Remove the device and release resources.
Definition ad796x.c:212
ad796x_mode
Definition ad796x.h:42
@ AD796X_MODE7_EXT_REF_5P0_9MHZ
Definition ad796x.h:50
@ AD796X_MODE8_INT_REF_4P0_9MHZ
Definition ad796x.h:51
@ AD796X_MODE1_EXT_REF_5P0
Definition ad796x.h:44
@ AD796X_MODE0_POWER_DOWN
Definition ad796x.h:43
@ AD796X_MODE2_INT_REF_4P0
Definition ad796x.h:45
@ AD796X_MODE4_SNOOZE
Definition ad796x.h:47
@ AD796X_MODE3_EXT_REF_4P0
Definition ad796x.h:46
@ AD796X_MODE10_SNOOZE2
Definition ad796x.h:53
@ AD796X_MODE9_EXT_REF_4P0_9MHZ
Definition ad796x.h:52
@ AD796X_MODE6_INVALID
Definition ad796x.h:49
@ AD796X_MODE5_TEST
Definition ad796x.h:48
int ad796x_init(struct ad796x_dev **device, struct ad796x_init_param *init_param)
Initialize the device.
Definition ad796x.c:148
#define AD796X_NUM_GPIOS
Definition ad796x.h:56
Driver for the Analog Devices AXI-ADC-CORE module.
Driver for the Analog Devices AXI-DMAC core.
Driver for the Analog Devices AXI CLKGEN.
Header file of GPIO Interface.
Header file of PWM Interface.
AD796X Device structure.
Definition ad796x.h:76
struct no_os_pwm_desc * axi_pwm_1
Definition ad796x.h:81
struct axi_dmac * axi_dmac
Definition ad796x.h:79
struct axi_clkgen * clkgen
Definition ad796x.h:78
struct no_os_gpio_desc * gpio_en[AD796X_NUM_GPIOS]
Definition ad796x.h:82
struct axi_adc * ad796x_core
Definition ad796x.h:77
struct no_os_pwm_desc * axi_pwm_0
Definition ad796x.h:80
AD796X Device initialization parameters.
Definition ad796x.h:62
enum ad796x_mode mode
Definition ad796x.h:69
struct no_os_pwm_init_param * axi_pwm_0_ip
Definition ad796x.h:66
struct axi_dmac_init * dmac_ip
Definition ad796x.h:65
struct no_os_gpio_init_param * gpio_ip[AD796X_NUM_GPIOS]
Definition ad796x.h:68
struct axi_clkgen_init * clkgen_ip
Definition ad796x.h:64
struct axi_adc_init * ad796x_core_ip
Definition ad796x.h:63
struct no_os_pwm_init_param * axi_pwm_1_ip
Definition ad796x.h:67
AXI ADC Initialization Parameters structure.
Definition axi_adc_core.h:144
AXI ADC Device Descriptor.
Definition axi_adc_core.h:123
Definition clk_axi_clkgen.h:44
Definition clk_axi_clkgen.h:38
Definition axi_dmac.h:118
Definition ad9361_util.h:63
Structure holding the GPIO descriptor.
Definition no_os_gpio.h:84
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67
Structure representing an PWM generator device.
Definition no_os_pwm.h:83
Structure containing the init parameters needed by the PWM generator.
Definition no_os_pwm.h:56