Go to the documentation of this file.
40 #ifndef __BASIC_EXAMPLE_H__
41 #define __BASIC_EXAMPLE_H__
int max22200_get_ch_mode(struct max22200_desc *desc, uint32_t ch, enum max22200_ch_drive *ch_drive, enum max22200_ch_side *ch_side, enum max22200_ch_op_mode *ch_op_mode)
Read channel's mode configuration.
Definition: max22200.c:615
Header file of AD5460 Driver.
@ MAX14919_OUT_OFF
Definition: max14919.h:51
#define SYSREF_SRC_INTERNAL
Definition: ad9528.h:281
enum ad9545_ref_mode mode
Definition: ad9545.h:668
const struct no_os_gpio_platform_ops max2201x_gpio_ops
Definition: max2201x.c:707
int max11205_get_data_raw(struct max11205_dev *dev, bool *new_data_avail, int16_t *data_raw)
Get the converted data.
Definition: max11205.c:173
int adp1050_remove(struct adp1050_desc *desc)
Free the resources allocated by the adp1050_init()
Definition: adp1050.c:1172
Driver for the Analog Devices AXI-ADC-CORE module.
Device descriptor for LT8722.
Definition: lt8722.h:379
int adp1050_set_close_loop(struct adp1050_desc *desc)
Set close loop operation.
Definition: adp1050.c:660
Union holding the flags for ADXL313 interrupt source.
Definition: adxl313.h:448
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:979
bool pll_used
Definition: ad9545.h:643
@ LT7182S_STATUS_ALL_TYPE
Definition: lt7182s.h:300
int32_t ad469x_init(struct ad469x_dev **device, struct ad469x_init_param *init_param)
Definition: ad469x.c:1071
int basic_example_main()
basic example main execution.
Definition: basic_example.c:59
#define ADP1050_STATUS_CML
Definition: adp1050.h:235
@ MAX22200_HHF_ENABLE
Definition: max22200.h:142
Data format in which the acceleration values are converted.
Definition: adxl313.h:394
int max22200_set_ch_mode(struct max22200_desc *desc, uint32_t ch, enum max22200_ch_drive ch_drive, enum max22200_ch_side ch_side, enum max22200_ch_op_mode ch_op_mode)
Set chanmel operation mode, high-side/low-side and drive.
Definition: max22200.c:330
IIO application descriptor initialization parameters.
Definition: iio_app.h:107
uint16_t channel_divider
Definition: ad9528.h:351
int max22200_get_ch_freq(struct max22200_desc *desc, uint32_t ch, enum max22200_ch_freq *ch_freq)
Read channel's frequency.
Definition: max22200.c:650
@ MAX14916_FLED_TIME_2S
Definition: max14916.h:80
#define AD9545_CLK_PLL
Definition: ad9545.h:76
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:85
int max2201x_reg_read(struct max2201x_desc *desc, uint32_t addr, uint32_t *val)
Read the value of a device register.
Definition: max2201x.c:495
unsigned int address
Definition: ad9545.h:685
bool tdc_used
Definition: ad9545.h:692
@ MAX22200_FREQMAIN_DIV_2
Definition: max22200.h:137
int max149x6_reg_read(struct max149x6_desc *desc, uint32_t addr, uint32_t *val)
Read the value of a device register.
Definition: max149x6-base.c:132
uint8_t vout
Definition: lt7182s.h:370
bool sys_clk_crystal
Definition: ad9545.h:711
#define TX_CORE_BASEADDR
Definition: parameters.h:113
enum ad469x_channel_sequencing ch_sequence
Definition: ad469x.h:290
int ad796x_remove(struct ad796x_dev *dev)
Remove the device and release resources.
Definition: ad796x.c:229
#define ADXCVR_REFCLK
Definition: axi_adxcvr.h:61
@ MAX2201X_UNIPOLAR
Definition: max2201x.h:133
int ltc2672_set_span_all_channels(struct ltc2672_dev *device, enum ltc2672_out_range ch_span)
sets the same output span for all channels
Definition: ltc2672.c:339
unsigned int phase_thresh_ps
Definition: ad9545.h:670
int32_t axi_dac_init_begin(struct axi_dac **dac_core, const struct axi_dac_init *init)
Begin AXI DAC Initialization.
Definition: axi_dac_core.c:887
float dev_global_attr[PQM_DEVICE_ATTR_NUMBER]
Definition: common_data.h:121
@ MAX22200_FREQ_80KHZ
Definition: max22200.h:105
int max22196_get_chan_cnt(struct max22196_desc *desc, uint32_t ch, uint16_t *cnt_msb_lsb_bytes)
MAX22196 channel counter get function.
Definition: max22196.c:466
#define PQM_DEVICE_ATTR_NUMBER
Definition: common_data.h:76
int ad7091r8_remove(struct ad7091r8_dev *dev)
Free the resources allocated by ad7091r8_init().
Definition: ad7091r8.c:464
uint8_t DATA_READY
Definition: adxl313.h:423
struct ad7091r8_init_param ad7091r8_ip
Definition: common_data.c:70
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:121
int max14916_set_ow_off(struct max149x6_desc *desc, enum max14916_ow_off_cs ow_off_cs)
Set current magnitude for the ow off in the config2 register.
Definition: max14916.c:173
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:53
int ltc4306_set_downstream_channel(struct ltc4306_dev *dev, uint8_t bus_num, bool connect)
Dis/connects to a downstream bus. Bus logic state must be 1 for connection to occur EXCEPT when conn_...
Definition: ltc4306.c:759
unsigned int loop_bw_mhz
Definition: ad9545.h:704
Header file of MAX149X6 Base Driver.
struct no_os_gpio_init_param gpio_wifi_rst_ip
Definition: common_data.c:74
int ltc2672_monitor_mux(struct ltc2672_dev *device, enum ltc2672_mux_commands mux_comm)
configures mux output depending on target measurement
Definition: ltc2672.c:449
int max22190_reg_read(struct max22190_desc *desc, uint32_t addr, uint32_t *val)
Register read function for MAX22190.
Definition: max22190.c:338
@ MAX22190_FAULT2_FAULT8CKE
Definition: max22190.h:126
#define NO_OS_GENMASK(h, l)
Definition: no_os_util.h:88
int ltc2672_remove(struct ltc2672_dev *device)
Remove resources allocated by the init function.
Definition: ltc2672.c:94
Device descriptor for MAX149X6.
Definition: max149x6-base.h:73
Basic example header for ad7091r8-sdz project.
#define MAX22196_CHANNELS
Definition: max22196.h:50
#define BUFF_LEN
Definition: common_data.h:74
uint32_t size
Definition: iio_app.h:69
Definition: axi_dmac.h:133
struct max11205_init_param max11205_ip
Definition: common_data.c:84
int max14906_remove(struct max149x6_desc *desc)
Free the resources allocated during init and place all the channels in high-z.
Definition: max14906.c:284
#define SAMPLES_PER_CHANNEL
Definition: common_data.h:54
Structure describing a callback to be registered.
Definition: no_os_irq.h:148
uint32_t valid_t_ms
Definition: ad9545.h:665
AD5460 device descriptor.
Definition: ad5460.h:352
int ltc3337_init(struct ltc3337_dev **device, struct ltc3337_init_param *init_param)
Definition: ltc3337.c:92
#define MQTT_CONFIG_VERSION
Definition: common_data.h:84
float pqm_global_attr[PQM_DEVICE_ATTR_NUMBER]
Definition: common_data.h:113
int max14919_remove(struct max14919_desc *desc)
Free resources allocated by the init function.
Definition: max14919.c:197
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: no_os_uart.c:222
#define ADRV9025_RX_JESD_SUBCLASS
Definition: app_config.h:63
@ ADP1050_DUTY_CYCLE
Definition: adp1050.h:530
enum max22200_ch_side chan_side
Definition: max22200.h:165
Header file of SPI Interface.
BASIC example header for eval-adis1654x project.
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:59
max2201x_op_mode
Definition: max2201x.h:121
int ltc2672_chip_power_down(struct ltc2672_dev *device)
power down ltc2672
Definition: ltc2672.c:390
Header file of AD74416h Driver.
int adxl313_get_fifo_data(struct adxl313_dev *dev, uint8_t *entries, struct adxl313_frac_repr *x, struct adxl313_frac_repr *y, struct adxl313_frac_repr *z)
Definition: adxl313.c:948
#define MAX_SIZE_BASE_ADDR_WITH_SIZE
Definition: common_data.h:70
Definition: max22190.h:94
Header file of IRQ interface.
int32_t no_os_irq_register_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Register a callback to handle the irq events.
Definition: no_os_irq.c:98
Header file of MAX22196 Driver.
Structure holding te MAX14919 device descriptor.
Definition: max14919.h:75
@ RPOLE2_900_OHM
Definition: ad9523.h:342
int32_t init_and_connect_wifi(struct wifi_desc **wifi)
Definition: basic_example.c:59
#define DRIVER_MODE_AC_COUPLED_IF
Definition: ad9545.h:59
int jesd204_topology_init(struct jesd204_topology **topology, struct jesd204_topology_dev *devs, unsigned int devs_number)
Output channel configuration.
Definition: ad9528.h:336
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:95
@ LT7182S_IOUT
Definition: lt7182s.h:265
Definition: max22196.h:146
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:149
Header file for basic example.
int max14916_init(struct max149x6_desc **desc, struct max149x6_init_param *param)
Initialize and configure the MAX14916 device.
Definition: max14916.c:209
int ltc3337_get_temperature_c(struct ltc3337_dev *dev, int16_t *value)
Definition: ltc3337.c:205
unsigned int priority
Definition: ad9545.h:631
const struct no_os_spi_init_param ad9528_spi_param
Definition: common_data.c:51
uint8_t iout
Definition: lt7182s.h:371
#define AD74416H_CH_C
Definition: ad74416h.h:59
int32_t axi_adc_write(struct axi_adc *adc, uint32_t reg_addr, uint32_t reg_data)
AXI ADC Data Write.
Definition: axi_adc_core.c:77
basic example header for max11205pmb1 project
int max22190_fault_enable_get(struct max22190_desc *desc, enum max22190_fault_enable fault_enable, bool *enabled)
Get fault enable from the fault registers.
Definition: max22190.c:231
int adxl313_set_range(struct adxl313_dev *dev, enum adxl313_range range)
Definition: adxl313.c:2043
#define MAX22196_MSB_MASK
Definition: max22196.h:80
#define MAX14916_CONFIG1_REG
Definition: max14916.h:64
int adis_get_accl_scale(struct adis_dev *adis, struct adis_scale_fractional *accl_scale)
Read adis device acceleration scale in fractional form.
Definition: adis.c:4166
Basic example header file for ltc4296 project.
IIO application descriptor.
Definition: iio_app.h:86
enum ad9545_output_mode output_mode
Definition: ad9545.h:620
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:87
int max22190_fault_enable_set(struct max22190_desc *desc, enum max22190_fault_enable fault_enable, bool enabled)
Set fault enable in the fault registers.
Definition: max22190.c:279
#define WIFI_PASS
Definition: common_data.h:78
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:94
struct adis_init_param adis1647x_ip
Definition: common_data.c:82
int adp1050_read(struct adp1050_desc *desc, uint16_t command, uint8_t *data, uint8_t bytes_number)
Read data from ADP1050.
Definition: adp1050.c:80
int adf4382_set_rfout(struct adf4382_dev *dev, uint64_t val)
Set the desired output frequency and reset everything over to maximum supported value of 22GHz (21GHz...
Definition: adf4382.c:558
#define AXI_ADC_RSTN
Definition: axi_adc_core.h:53
struct ad9545_aux_dpll_clk aux_dpll_clk
Definition: ad9545.h:767
uint32_t dividend
Definition: adis.h:235
int adis_read_y_gyro(struct adis_dev *adis, int32_t *y_gyro)
Read raw gyroscope data on y axis.
Definition: adis.c:1299
void * buff
Definition: iio_app.h:70
struct pqm_init_para pqm_ip
Definition: common_data.c:65
int adt75_remove(struct adt75_desc *desc)
Free the device descriptor.
Definition: adt75.c:166
Header file of Delay functions.
uint8_t input
Definition: lt7182s.h:372
struct ad9545_aux_nco_clk aux_nco_clks[NO_OS_ARRAY_SIZE(ad9545_aux_nco_clk_names)]
Definition: ad9545.h:771
uint32_t axi_jesd204_rx_status_read(struct axi_jesd204_rx *jesd)
Read status of the JESD204 Receive Peripherial.
Definition: axi_jesd204_rx.c:218
@ LTC2672_50VREF
Definition: ltc2672.h:130
int adis_read_x_gyro(struct adis_dev *adis, int32_t *x_gyro)
Read raw gyroscope data on x axis.
Definition: adis.c:1280
@ BAT_OUT_IPEAK_OFF
Definition: ltc3337.h:136
int lt7182s_init(struct lt7182s_dev **device, struct lt7182s_init_param *init_param)
Initialize the device structure.
Definition: lt7182s.c:529
Definition: max22200.h:157
const char * name
Definition: no_os_clk.h:52
max14916_wd
Definition: max14916.h:89
int adf4382_remove(struct adf4382_dev *dev)
Free resources allocated for ADF4382.
Definition: adf4382.c:1289
Definition: common_data.h:111
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:121
int32_t pqm_remove(struct pqm_desc *desc)
Remove pqm descriptor.
Definition: basic_example.c:75
max22200_chopping_freq
Definition: max22200.h:103
#define ADC_DDR_BASEADDR
Definition: main.c:68
int ad9545_calib_aplls(struct ad9545_dev *dev)
Definition: ad9545.c:2051
struct max22196_init_param max22196_ip
Definition: common_data.c:67
int32_t port
Definition: no_os_gpio.h:87
struct ad5460_init_param ad5460_ip
Definition: common_data.c:70
@ ADP1050_VOUT_TR_200UV_US
Definition: adp1050.h:477
int32_t no_os_clk_init(struct no_os_clk_desc **desc, const struct no_os_clk_init_param *param)
Definition: pulsar_adc.h:125
@ MAX14919_OUT_ON
Definition: max14919.h:52
#define TOTAL_PQM_CHANNELS
Definition: common_data.h:73
unsigned int fast_acq_excess_bw
Definition: ad9545.h:633
#define GPIO_IRQ_ID
Definition: parameters.h:51
int32_t axi_adc_init_begin(struct axi_adc **adc_core, const struct axi_adc_init *init)
Begin AXI ADC Initialization.
Definition: axi_adc_core.c:593
int ad5460_gpio_set(struct ad5460_desc *desc, uint32_t ch, uint8_t val)
Set the logic value of a GPO pin.
Definition: ad5460.c:396
#define ADRV9025_TX_JESD_BITS_PER_SAMPLE
Definition: app_config.h:56
Definition: lt7182s.h:325
Header file for the ADP1050 Driver.
struct max538x_init_param max538x_user_init
Definition: common_data.c:69
BASIC example header for eval-adis1647x project.
int max149x6_reg_update(struct max149x6_desc *desc, uint32_t addr, uint32_t mask, uint32_t val)
Update the value of a device register (read/write sequence).
Definition: max149x6-base.c:178
int basic_example_main()
basic example main execution.
Definition: basic_example.c:59
struct no_os_clk_desc ** clks[4]
Definition: ad9545.h:755
@ LT7182S_VOUT
Definition: lt7182s.h:264
int max22200_init(struct max22200_desc **desc, struct max22200_init_param *init_param)
MAX22200 descriptor initialization function.
Definition: max22200.c:730
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:123
@ MAX22190_DELAY_50US
Definition: max22190.h:104
enum max22200_ch_drive chan_drive
Definition: max22200.h:166
struct adis_init_param adis1646x_ip
Definition: common_data.c:82
@ LTC2672_DAC3
Definition: ltc2672.h:123
uint32_t divisor
Definition: adis.h:237
int max2201x_config(struct max2201x_desc *desc, enum max2201x_channel ch, enum max2201x_out_mode uni, enum max2201x_cm_sense cm_sense, bool ldac)
Set AO configuration.
Definition: max2201x.c:428
int max14906_climit_set(struct max149x6_desc *desc, uint32_t ch, enum max14906_climit climit)
Configure the current limit for output channels.
Definition: max14906.c:136
ADXL313 Device structure.
Definition: adxl313.h:494
bool dpll_used
Definition: ad9545.h:701
#define MAX14906_SETLED_REG
Definition: max14906.h:52
Header file for basic example.
const struct no_os_clk_platform_ops refb_clk_ops
Definition: common_data.c:107
Timer control module header.
Driver for the Analog Devices AXI-DAC-CORE module.
max14919_out_state
Definition: max14919.h:50
int32_t axi_jesd204_rx_init(struct axi_jesd204_rx **jesd204, const struct jesd204_rx_init *init)
Device initialization, JESD FSM ON.
Definition: axi_jesd204_rx.c:917
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:60
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:55
#define MAX14906_INT_REG
Definition: max14906.h:54
Definition: jesd204.h:248
Implementation of AD7091R-8 driver header file.
struct jesd204_dev * jdev
Definition: jesd204.h:240
int max538x_remove(struct max538x_dev *dev)
Free the resources allocated by max538x_init().
Definition: max538x.c:158
struct no_os_circular_buffer * no_os_cb_desc
Definition: pqlib_example.h:160
@ ID_ADXL312
Definition: adxl313.h:251
uint8_t OVERRUN
Definition: adxl313.h:417
Implementation of adis1646x.h.
int32_t axi_jesd204_rx_remove(struct axi_jesd204_rx *jesd)
Free resoulces allocated for JESD204 RX peripheral.
Definition: axi_jesd204_rx.c:996
int adp1050_pwm_duty_cycle(struct adp1050_desc *desc, uint16_t pulse_width, uint16_t pulse_start, enum adp1050_channel chan)
Set VOUT duty cycle for requested channel.
Definition: adp1050.c:330
const char * name
Definition: axi_jesd204_rx.h:96
Basic example header for eval-adf4382.
#define DRIVER_MODE_LVDS
Definition: ad9528.h:259
#define ADP1050_TRIM_DEFAULT_PASS
Definition: adp1050.h:144
int32_t send(struct mqtt_desc *mqtt)
Definition: basic_example.c:252
@ NO_OS_IRQ_EDGE_FALLING
Definition: no_os_irq.h:85
struct no_os_clk_desc * parent_clk
Definition: ad9545.h:666
enum ad9545_single_ended_config s_conf
Definition: ad9545.h:676
int adis_get_anglvel_scale(struct adis_dev *adis, struct adis_scale_fractional *anglvel_scale)
Read adis device gyroscope scale in fractional form.
Definition: adis.c:4150
int max22190_chan_state(struct max22190_desc *desc, uint32_t ch, enum max22190_ch_state state)
Switch selected channel's state to disabled or enabled.
Definition: max22190.c:163
struct ad9545_init_param ad9545_ip
Definition: common_data.c:82
uint8_t mfr_specific
Definition: lt7182s.h:375
Definition: jesd204.h:239
@ CPOLE1_16_PF
Definition: ad9523.h:362
@ MAX14906_CL_600
Definition: max14906.h:110
Header file for basic example.
int adxl313_software_reset(struct adxl313_dev *dev)
Definition: adxl313.c:381
@ LTC_PORT0
Definition: ltc4296.h:250
int adis_read_x_accl(struct adis_dev *adis, int32_t *x_accl)
Read raw acceleration data on x axis.
Definition: adis.c:1337
int ltc4296_port_en(struct ltc4296_dev *dev, enum ltc4296_port port_no)
Enable specific port.
Definition: ltc4296.c:690
uint8_t tdc_source
Definition: ad9545.h:637
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:72
#define MAX22190_DIGITAL_INPUT_REG
Definition: max22190.h:53
max14916_ow_off_cs
Definition: max14916.h:96
int ad74416h_init(struct ad74416h_desc **desc, struct ad74416h_init_param *init_param)
Initialize the device structure.
Definition: ad74416h.c:997
#define ADP1050_CHIP_DEFAULT_PASS
Definition: adp1050.h:141
uint32_t dev_ch_attr[TOTAL_PQM_CHANNELS][MAX_CH_ATTRS]
Definition: common_data.h:122
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:56
#define AXI_ADC_REG_RSTN
Definition: axi_adc_core.h:51
int max11205_init(struct max11205_dev **device, struct max11205_init_param init_param)
Initializes the communication peripheral.
Definition: max11205.c:91
BASIC example header for adt75 project.
@ MAX22200_CURRENT_DRIVE
Definition: max22200.h:125
int adp1050_set_pwm(struct adp1050_desc *desc, enum adp1050_channel chan, enum adp1050_freq freq)
Set PWM channel and frequency.
Definition: adp1050.c:477
int32_t ad738x_init(struct ad738x_dev **device, struct ad738x_init_param *init_param)
Definition: ad738x.c:400
max14906_climit
Current limit options for output channels.
Definition: max14906.h:109
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:121
int32_t no_os_uart_remove(struct no_os_uart_desc *desc)
Free the resources allocated by no_os_uart_init().
Definition: no_os_uart.c:87
int32_t ad9545_setup(struct ad9545_dev *dev)
Definition: ad9545.c:2336
@ MAX2201X_OUTPUT_VOLTAGE_NO_MONITORRING
Definition: max2201x.h:125
@ ADXL313_Z_AXIS
Definition: adxl313.h:346
int adxl313_set_inactivity_detection(struct adxl313_dev *dev, uint8_t inact_axes, uint8_t inact_ac_dc, uint32_t inact_thresh_ug, uint8_t inact_time_s, uint8_t int_pin)
Enables the inactivity detection.
Definition: adxl313.c:1317
int pqm_one_cycle(void)
One complete cycle for IIO callback function.
Definition: pqlib_example.c:123
@ MAX14916_SHT_VDD_THR_14V
Definition: max14916.h:107
#define AD9545_PLL0
Definition: ad9545.h:81
#define ADXL313_MAX_FIFO_ENTRIES
Definition: adxl313.h:207
struct adis_init_param adis1654x_ip
Definition: common_data.c:82
BASIC example header for eval-adis1657x project.
basic example header for DC2903A project
Basic example header file for lt8722 project.
#define ADRV9025_TX_JESD_HIGH_DENSITY
Definition: app_config.h:57
int max22190_wbe_get(struct max22190_desc *desc, uint32_t ch, bool *enabled)
Get Wire Break detection for requested channel.
Definition: max22190.c:189
int32_t axi_dmac_remove(struct axi_dmac *dmac)
Definition: axi_dmac.c:373
int ad74416h_gpio_set(struct ad74416h_desc *desc, uint32_t ch, uint8_t val)
Set the logic value of a GPO pin.
Definition: ad74416h.c:854
Header file of Clock Driver.
int ad5460_remove(struct ad5460_desc *desc)
Free the device descriptor.
Definition: ad5460.c:613
Definition: ad7091r8.h:170
#define RX_DMA_BASEADDR
Definition: parameters.h:70
struct no_os_uart_desc * uart_desc
Definition: main.c:52
#define SYSREF_PATTERN_NSHOT
Definition: ad9528.h:284
struct no_os_gpio_desc * en_gpio
Definition: max149x6-base.h:76
Basic example header for the adrv902x project.
#define DRIVER_MODE_SINGLE_DIV_DIF
Definition: ad9545.h:70
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:132
int max22196_set_mode(struct max22196_desc *desc, uint32_t ch, enum max22196_mode mode)
MAX22196 function that helps setting the mode of the device.
Definition: max22196.c:195
int32_t integer
Definition: max31855.h:82
IIO_BUFF_TYPE iio_data_buffer_loc[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:63
struct adp1050_init_param adp1050_ip
Definition: common_data.c:67
uint32_t no_os_field_prep(uint32_t mask, uint32_t val)
int adis_init(struct adis_dev **adis, const struct adis_init_param *ip)
Initialize adis device.
Definition: adis.c:105
int32_t ad796x_read_data(struct ad796x_dev *dev, uint32_t *buf, uint16_t samples)
Read data samples from adc.
Definition: ad796x.c:80
int32_t no_os_irq_set_priority(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, uint32_t priority_level)
Set the priority for an interrupt.
Definition: no_os_irq.c:222
@ LTC4306_HIGH
Definition: ltc4306.h:108
Basic example header for ad9545 project.
int adis_read_z_accl(struct adis_dev *adis, int32_t *z_accl)
Read raw acceleration data on z axis.
Definition: adis.c:1375
#define MQTT_SUBSCRIBE_TOPIC
Definition: common_data.h:82
int adis_read_y_accl(struct adis_dev *adis, int32_t *y_accl)
Read raw acceleration data on y axis.
Definition: adis.c:1356
struct axi_dmac * rx_dmac
Definition: main.c:177
uint32_t active_ch
Definition: common_data.h:115
int jesd204_fsm_start(struct jesd204_topology *topology, unsigned int link_idx)
int max14906_ch_set(struct max149x6_desc *desc, uint32_t ch, uint32_t val)
Write the (logic) state of a channel (only for output channels).
Definition: max14906.c:76
int ltc4306_addr_gen(struct ltc4306_init_param *init_param, enum ltc4306_addr_conn addr0, enum ltc4306_addr_conn addr1, enum ltc4306_addr_conn addr2)
Gives the equivalent hex device address based on the input combination of addr0, addr1,...
Definition: ltc4306.c:241
Driver for the ADI AXI-ADXCVR Module.
Stucture holding the UART descriptor.
Definition: no_os_uart.h:140
enum adxl313_range range
Definition: adxl313.h:502
#define SYS_STATUS_SUCCESS
Definition: status.h:47
uint32_t pqm_ch_attr[TOTAL_PQM_CHANNELS][MAX_CH_ATTRS]
Definition: common_data.h:114
int32_t ad469x_read_data(struct ad469x_dev *dev, uint8_t channel, uint32_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: ad469x.c:799
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:918
@ ADXL313_MEAS
Definition: adxl313.h:271
int max14906_ch_get(struct max149x6_desc *desc, uint32_t ch, uint32_t *val)
Read the (voltage) state of a channel (works for both input or output).
Definition: max14906.c:53
int ltc4296_port_prebias(struct ltc4296_dev *dev, enum ltc4296_port port_no, enum ltc4296_config mode)
Stimulate valid wake-up signature for a port.
Definition: ltc4296.c:663
int ltc4306_set_gpio_output_state(struct ltc4306_dev *dev, int gpio, bool is_high)
Sets GPIO Output Driver state.
Definition: ltc4306.c:472
ADIS device descriptor structure.
Definition: adis.h:276
uint32_t ext_buff_len
Definition: common_data.h:116
uint8_t WATERMARK
Definition: adxl313.h:418
unsigned int address
Definition: ad9545.h:623
int ltc2672_set_current_all_channels(struct ltc2672_dev *device, uint32_t current)
sets the same current for all channels
Definition: ltc2672.c:260
MAX31855 descriptor.
Definition: max31855.h:103
int ltc4296_remove(struct ltc4296_dev *dev)
Free allocated resources.
Definition: ltc4296.c:1086
#define ADRV9025_RX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:62
@ MAX2201X_50_OHM_RESISTOR
Definition: max2201x.h:137
int adt75_init(struct adt75_desc **desc, struct adt75_init_param *init_param)
Initialize the device structure.
Definition: adt75.c:138
struct axi_dmac * tx_dmac
Definition: main.c:187
unsigned int address
Definition: ad9545.h:629
@ LTC_PORT1
Definition: ltc4296.h:251
int lt7182s_remove(struct lt7182s_dev *dev)
Free or remove device instance.
Definition: lt7182s.c:722
Definition: ltc3337.h:107
bool ad469x_is_temp_channel(struct ad469x_dev *dev, uint8_t channel)
Definition: ad469x.c:285
#define TX_XCVR_BASEADDR
Definition: parameters.h:64
#define ADRV9025_TX_JESD_SUBCLASS
Definition: app_config.h:59
int ltc3337_get_accumulated_charge(struct ltc3337_dev *dev, struct charge_count_t *value, uint16_t *raw_value)
Definition: ltc3337.c:233
int max14919_init(struct max14919_desc **desc, struct max14919_init_param *init_param)
Initialize the MAX14919 device descriptor.
Definition: max14919.c:131
const struct no_os_gpio_init_param clkchip_gpio_init_param
Definition: common_data.c:61
unsigned int fast_acq_settle_ms
Definition: ad9545.h:635
@ IRQ_DISABLED
Definition: axi_dmac.h:85
int(* post_step_callback)(void *arg)
Definition: iio_app.h:125
Structure holding the GPIO initialization parameter for the MAX2201X GPIO Controller.
Definition: max2201x.h:191
ADF4382 Device Descriptor.
Definition: adf4382.h:512
int ltc2672_init(struct ltc2672_dev **device, struct ltc2672_init_param *init_param)
Device and communication init function.
Definition: ltc2672.c:64
struct adxl313_init_param adxl313_user_init
Definition: common_data.c:70
#define MQTT_CONFIG_CLI_USER
Definition: common_data.h:87
#define SERVER_ADDR
Definition: common_data.h:68
int ltc2672_enable_toggle_channel(struct ltc2672_dev *device, uint32_t mask)
enables or disables selected channel/s for toggling
Definition: ltc2672.c:538
int32_t pqm_init(struct pqm_desc **desc, struct pqm_init_para *param)
Initialize pqm descriptor.
Definition: basic_example.c:52
struct max22190_init_param max22190_ip
Definition: common_data.c:59
Implementation of adis1657x.h.
int lt7182s_read_status(struct lt7182s_dev *dev, int channel, enum lt7182s_status_type status_type, struct lt7182s_status *status)
Read statuses.
Definition: lt7182s.c:1133
#define AD9545_Q1B
Definition: ad9545.h:93
int max22200_set_ch_enable(struct max22200_desc *desc, uint32_t ch, enum max22200_ch_enable ch_enable, bool enabled)
Set channel's enables for different checks, detection and functions.
Definition: max22200.c:397
struct lt7182s_init_param lt7182s_ip
Definition: common_data.c:61
int adis_read_temp_out(struct adis_dev *adis, int32_t *temp_out)
Read raw temperature data.
Definition: adis.c:1394
Basic example header file for max22190.
Header file for the LT8722 Driver.
unsigned int freq_lock_fill_rate
Definition: ad9545.h:673
const char * name
Definition: axi_dac_core.h:69
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
max22196_delay
Definition: max22196.h:120
ADIS fractional scale format structure; scale = dividend/divisor.
Definition: adis.h:233
struct no_os_gpio_init_param * gpio_resetb
Definition: ad9528.h:507
struct no_os_irq_init_param irq_ip
Definition: common_data.c:60
int adxl313_get_xyz(struct adxl313_dev *dev, struct adxl313_frac_repr *x_m_s2, struct adxl313_frac_repr *y_m_s2, struct adxl313_frac_repr *z_m_s2)
Definition: adxl313.c:781
struct no_os_irq_ctrl_desc * irq_ctrl
Definition: max11205.h:85
int max22196_init(struct max22196_desc **desc, struct max22196_init_param *param)
Initialize and configure the MAX22196 device.
Definition: max22196.c:507
int max22200_set_cfg_dpm(struct max22200_desc *desc, uint8_t dpm_istart_byte, uint8_t dpm_tdeb_ipth_byte)
Set configuration DPM.
Definition: max22200.c:415
char sign
Definition: pulsar_adc.h:98
@ ID_ADXL313
Definition: adxl313.h:252
Header file of MAX2201X Driver.
#define ADRV9025_STREAM_IMAGE_FILE
Definition: app_config.h:65
@ MAX14906_CL_300
Definition: max14906.h:112
Header file of MAX22200 Driver.
int max14906_climit_get(struct max149x6_desc *desc, uint32_t ch, enum max14906_climit *climit)
Read an output channel's current limit.
Definition: max14906.c:150
@ ADXL313_4G_RANGE
Definition: adxl313.h:303
int ltc4306_init(struct ltc4306_dev **device, struct ltc4306_init_param init_param)
Initializes the communication peripheral and checks if the ltc4306 part is present.
Definition: ltc4306.c:100
int adis_read_z_gyro(struct adis_dev *adis, int32_t *z_gyro)
Read raw gyroscope data on z axis.
Definition: adis.c:1318
int adis_get_temp_scale(struct adis_dev *adis, struct adis_scale_fractional *temp_scale)
Read adis device temperature scale in fractional form.
Definition: adis.c:4214
@ ADXL313_ODR_800HZ
Definition: adxl313.h:334
@ MAX22190_CH_OFF
Definition: max22190.h:84
int32_t no_os_irq_unregister_callback(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, struct no_os_callback_desc *callback_desc)
Unregisters a generic IRQ handling function.
Definition: no_os_irq.c:118
#define ADRV9025_RX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:61
int32_t no_os_clk_set_rate(struct no_os_clk_desc *desc, uint64_t rate)
Implementation of adis1654x.h.
const struct no_os_clk_platform_ops refm1_clk_ops
Definition: common_data.c:115
@ AD469x_single_cycle
Definition: ad469x.h:174
#define AD9545_NCO0
Definition: ad9545.h:97
int max22190_filter_set(struct max22190_desc *desc, uint32_t ch, uint32_t clrf, uint32_t fbp, enum max22190_delay delay)
Set filter delay, wite break detection and if the filter is used or bypassed.
Definition: max22190.c:99
int32_t ad463x_read_data(struct ad463x_dev *dev, uint32_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: ad463x.c:634
@ MAX14914_DIGITAL_INPUT_IEC_TYPE2
Definition: max14914.h:52
Driver for the Analog Devices AXI-DMAC core.
unsigned int loop_bw_uhz
Definition: ad9545.h:632
uint32_t irq_ctrl_id
Definition: no_os_irq.h:115
@ MAX22200_LOW_SIDE
Definition: max22200.h:130
Structure holding ltc2672 descriptor.
Definition: ltc2672.h:183
#define ADRV9025_TX_JESD_CONVS_PER_DEVICE
Definition: app_config.h:54
#define MAX14906_CONFIG1_REG
Definition: max14906.h:59
#define MAX14916_FLED_STRETCH_MASK
Definition: max14916.h:72
adxl313_range
Enum for selecting range.
Definition: adxl313.h:299
int32_t pulsar_adc_remove(struct pulsar_adc_dev *dev)
Free the resources allocated by pulsar_adc_init().
Definition: pulsar_adc.c:392
int16_t * ext_buff
Definition: common_data.h:117
Header file for ad9545 Driver.
int32_t ad9545_remove(struct ad9545_dev *dev)
Free the memory allocated by ad9545_init().
Definition: ad9545.c:2411
int lt8722_remove(struct lt8722_dev *dev)
Free the resources allocated by the lt8722_init()
Definition: lt8722.c:1154
unsigned int freq_lock_drain_rate
Definition: ad9545.h:674
Structure holding CLK descriptor.
Definition: no_os_clk.h:81
Header file of ltc4306 driver.
@ MAX2201X_UPDATE_RATE_4KHZ_2KHZ
Definition: max2201x.h:172
const struct no_os_clk_platform_ops refbb_clk_ops
Definition: common_data.c:111
int ltc4296_init(struct ltc4296_dev **device, struct ltc4296_init_param *init_param)
Device initialization.
Definition: ltc4296.c:1033
uint32_t axi_jesd204_tx_status_read(struct axi_jesd204_tx *jesd)
Read status of the JESD204 Transmit Peripherial.
Definition: axi_jesd204_tx.c:176
int max14916_fled_time_set(struct max149x6_desc *desc, enum max14916_fled_time fled_time)
Set FLEDs minimum on-time to requested value.
Definition: max14916.c:124
struct max14914_init_param max14914_ip
Definition: common_data.c:91
int init_and_connect_to_mqtt_broker(struct mqtt_desc **mqtt, struct wifi_desc *wifi)
Definition: basic_example.c:157
int adt75_get_single_temp(struct adt75_desc *desc, int32_t *val)
Read the current temperature sample (in milliCelsius)
Definition: adt75.c:113
#define MAX22190_CHANNELS
Definition: max22190.h:49
int max22190_init(struct max22190_desc **desc, struct max22190_init_param *param)
MAX22190 Initialization function.
Definition: max22190.c:433
unsigned int address
Definition: ad9545.h:667
uint8_t cml
Definition: lt7182s.h:374
Definition: axi_dac_core.h:67
struct jesd204_dev * jdev
Definition: ad9528.h:498
@ ADXL313_12G_RANGE
Definition: adxl313.h:307
unsigned int freq_thresh_ps
Definition: ad9545.h:686
#define ADRV9025_DEVICE_CLK_KHZ
Definition: app_config.h:49
struct no_os_uart_init_param iio_demo_uart_ip
Definition: common_data.c:51
Definition: altera_adxcvr.h:108
int max14919_detect_rev(struct max14919_desc *desc, uint8_t *rev)
Detect reverse polarity of the current.
Definition: max14919.c:114
Header file for ad469x Driver.
max22200_ch_drive
Definition: max22200.h:124
Basic example header file for max22196.
int adp1050_vout_value(struct adp1050_desc *desc, uint16_t vout_command, uint16_t vout_max)
Set VOUT_COMMAND and VOUT_MAX values.
Definition: adp1050.c:237
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:110
int max14914_remove(struct max14914_desc *desc)
Free resources allocated by the init function.
Definition: max14914.c:210
int32_t no_os_irq_ctrl_init(struct no_os_irq_ctrl_desc **desc, const struct no_os_irq_init_param *param)
Initialize the IRQ interrupts.
Definition: no_os_irq.c:51
#define ADP1050_STATUS_INPUT
Definition: adp1050.h:233
#define AD7091R8_REG_RESULT_DATA_MASK
Definition: ad7091r8.h:69
#define REAL_BITS
Definition: basic_example.c:49
const char * name
Definition: altera_adxcvr.h:109
unsigned int address
Definition: ad9545.h:694
int max22200_set_chop_freq(struct max22200_desc *desc, enum max22200_chopping_freq chopping_freq)
Set chopping frequency value.
Definition: max22200.c:220
struct adis_init_param adis1655x_ip
Definition: common_data.c:82
int max14916_sled_set(struct max149x6_desc *desc, uint32_t ch, enum max14916_sled_state state)
Read an output channel's current limit.
Definition: max14916.c:96
struct no_os_clk_desc * parent_clk
Definition: ad9545.h:696
struct max149x6_init_param max14916_ip
Definition: common_data.c:59
#define ADP1050_STATUS_VOUT
Definition: adp1050.h:232
num_channels
Definition: ad3552r.h:248
unsigned int phase_lock_fill_rate
Definition: ad9545.h:671
unsigned int source
Definition: ad9545.h:703
struct no_os_uart_init_param uart_ip_stdio
Definition: common_data.c:119
struct axi_adc_init rx_adc_init
Definition: main.c:150
Definition: ltc3337.h:124
Implementation of adis1650x.h.
#define ADXL313_X_EN
Definition: adxl313.h:238
Definition: pulsar_adc.h:102
uint8_t INACTIVITY
Definition: adxl313.h:420
uint32_t r_div_ratio
Definition: ad9545.h:661
enum adxl313_type dev_type
Definition: adxl313.h:500
#define AD738X_SHIFT
Definition: basic_example.c:54
struct ltc3337_init_param ltc3337_ip
Definition: common_data.c:62
void(* callback)(void *context)
Definition: no_os_irq.h:150
Definition: max11205.h:62
#define AD9545_Q0A
Definition: ad9545.h:85
struct no_os_spi_init_param spi_init
Definition: ad9528.h:505
int32_t ad463x_remove(struct ad463x_dev *dev)
Free the memory allocated by ad463x_init().
Definition: ad463x.c:952
int16_t * ext_buff
Definition: common_data.h:124
@ ADXL313_FIFO_MODE
Definition: adxl313.h:355
#define AD738X_STORAGE_BITS
Definition: basic_example.c:52
int adxl313_get_int_source_reg(struct adxl313_dev *dev, union adxl313_int_src_reg_flags *int_status_flags)
Definition: adxl313.c:1919
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:102
@ ADP1050_OUTA
Definition: adp1050.h:402
int32_t decimal
Definition: max31855.h:83
#define MAX14906_SLED_CH(x)
Definition: basic_example.c:48
#define REF_MODE_EXT_REF
Definition: ad9528.h:276
int max2201x_set_data(struct max2201x_desc *desc, enum max2201x_channel ch, int32_t data)
Set data of the selected channel.
Definition: max2201x.c:280
@ BAT_IN_IPEAK_OFF
Definition: ltc3337.h:134
uint8_t temp
Definition: lt7182s.h:373
#define ADP1050_EEPROM_DEFAULT_PASS
Definition: adp1050.h:143
int lt8722_get_output_voltage(struct lt8722_dev *dev, int64_t *value)
Get output volatge of LT8722 device.
Definition: lt8722.c:918
Definition: no_os_clk.h:50
int iio_app_run(struct iio_app_desc *app)
#define AD9545_PLL1
Definition: ad9545.h:82
int32_t ad469x_remove(struct ad469x_dev *dev)
Free the memory allocated by ad469x_init().
Definition: ad469x.c:1200
struct max22200_init_param max22200_ip
Definition: common_data.c:67
int adxl313_get_raw_xyz(struct adxl313_dev *dev, int16_t *x_raw, int16_t *y_raw, int16_t *z_raw)
Definition: adxl313.c:748
Structure representing an ad469x device.
Definition: ad469x.h:311
Implementation of adis1655x.h.
Device descriptor for ADP1050.
Definition: adp1050.h:564
#define MAX14916_CHANNELS
Definition: max14916.h:49
int adxl313_set_odr(struct adxl313_dev *dev, enum adxl313_odr odr)
Definition: adxl313.c:1374
struct no_os_uart_init_param uart_ip
Definition: common_data.c:58
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:58
int ad796x_init(struct ad796x_dev **device, struct ad796x_init_param *init_param)
Initialize the device.
Definition: ad796x.c:165
BASIC example header for eval-adis1650x project.
#define RX_XCVR_BASEADDR
Definition: parameters.h:72
max22200_ch_freq
Definition: max22200.h:134
#define LTC4306_NUM_DOWNSTREAM
Definition: basic_example.c:54
#define AD9545_Q0B
Definition: ad9545.h:87
interger/decimal format used for temperature representation
Definition: max31855.h:81
@ ADP1050_49KHZ
Definition: adp1050.h:423
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:55
Header file for basic example.
@ MAX22190_FAULT1_FAULT2E
Definition: max22190.h:120
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
int adp1050_unlock_pass(struct adp1050_desc *desc, uint16_t password, enum adp1050_pass_type pass_type)
Unlock CHIP/EEPROM/TRIM password.
Definition: adp1050.c:941
#define MAX2201X_AO_GAIN_CORR_CH1
Definition: max2201x.h:70
Header file of I2C Interface.
#define MAX14906_CHANNELS
Definition: max14906.h:49
PQLIB_EXAMPLE pqlibExample
Definition: pqlib_example.c:51
struct max14919_init_param max14919_ip
Definition: common_data.c:106
struct ad9528_dev * ad9528_device
int max14919_set_climit(struct max14919_desc *desc, bool state)
Set current limiting.
Definition: max14919.c:79
#define SOURCE_VCO
Definition: ad9528.h:264
int32_t pulsar_adc_init(struct pulsar_adc_dev **device, struct pulsar_adc_init_param *init_param)
Definition: pulsar_adc.c:302
Header file of PWM Interface.
int afe_init(void)
Initializes SPI handler, AFE register values.
Definition: afe_config.c:59
max14916_sht_vdd_thr
Definition: max14916.h:103
struct ad9545_ref_in_clk ref_in_clks[NO_OS_ARRAY_SIZE(ad9545_ref_clk_names)]
Definition: ad9545.h:769
int ad7091r8_sequenced_read(struct ad7091r8_dev *dev, uint16_t *read_val)
Definition: ad7091r8.c:539
Device Structure.
Definition: ltc4296.h:227
Structure holding the MAX2201X device descriptor.
Definition: max2201x.h:212
bool export_no_os_clk
Definition: ad9528.h:510
uint32_t no_os_field_get(uint32_t mask, uint32_t word)
int max22190_wbe_set(struct max22190_desc *desc, uint32_t ch, bool enabled)
Set Wire Break detection for requested channel.
Definition: max22190.c:213
#define MAX22196_LSB_MASK
Definition: max22196.h:79
Definition: axi_jesd204_tx.h:76
uint32_t source_ua
Definition: ad9545.h:621
Header file of ltc2672 Driver.
#define ADRV9025_TX_JESD_CTRL_BITS_PER_SAMPLE
Definition: app_config.h:58
unsigned int address
Definition: ad9545.h:644
struct axi_dmac_init rx_dmac_init
Definition: main.c:168
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:98
struct adf4382_init_param adf4382_ip
Definition: common_data.c:64
Implementation of adis1647x.h.
@ MAX14916_SLED_OFF
Definition: max14916.h:85
unsigned int pin_nr
Definition: ad9545.h:695
int adf4382_set_phase_adjust(struct adf4382_dev *dev, uint32_t phase_ps)
Set the phase adjustment in pico-seconds. The phase adjust will enable the Bleed current option as we...
Definition: adf4382.c:1060
struct adis_init_param adis1650x_ip
Definition: common_data.c:82
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:825
struct ad9545_out_clk out_clks[NO_OS_ARRAY_SIZE(ad9545_out_clk_names)]
Definition: ad9545.h:770
#define NO_OS_BIT(x)
Definition: no_os_util.h:51
int max22196_filter_get(struct max22196_desc *desc, uint32_t ch, uint32_t *flt_en, uint32_t *clr_filtr, enum max22196_delay *delay)
MAX22196 filter get function
Definition: max22196.c:268
@ MAX22200_M_UVM
Definition: max22200.h:94
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:75
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:54
adp1050_vout_tr
Definition: adp1050.h:468
int32_t update_pqm_channels(void *dev, uint32_t mask)
active pqm channels
Definition: basic_example.c:84
int iio_app_remove(struct iio_app_desc *app)
bool en
Definition: ad9545.h:636
max22200_ch_side
Definition: max22200.h:129
int32_t ad9528_remove(struct ad9528_dev *dev)
Free the resources allocated by ad9528_setup().
Definition: ad9528.c:1129
int max22200_set_ch_freq(struct max22200_desc *desc, uint32_t ch, enum max22200_ch_freq ch_freq)
Set channel's frequency.
Definition: max22200.c:378
struct ad74416h_init_param ad74416h_ip
Definition: common_data.c:70
struct max2201x_init_param max2201x_ip
Definition: common_data.c:69
struct iio_device pqm_iio_descriptor
Definition: iio_pqm.c:898
struct ltc4306_init_param ltc4306_user_init
Definition: common_data.c:67
int max22200_remove(struct max22200_desc *desc)
Deallocates all the resources used at initialization.
Definition: max22200.c:872
uint32_t ref_freq_hz
Definition: ad9545.h:712
int32_t ad738x_read_data(struct ad738x_dev *dev, uint32_t *buf, uint16_t samples)
Read from device. Enter register mode to read/write registers.
Definition: ad738x.c:370
Definition: ltc4306.h:119
@ MAX22200_HALF_BRIDGE_MODE
Definition: max22200.h:111
struct max31855_init_param max31855_ip
Definition: common_data.c:65
#define MAX14916_CONFIG2_REG
Definition: max14916.h:65
#define AXI_ADC_MMCM_RSTN
Definition: axi_adc_core.h:52
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:340
#define MAX22200_CHANNELS
Definition: max22200.h:50
int32_t no_os_uart_init(struct no_os_uart_desc **desc, struct no_os_uart_init_param *param)
Initialize the UART communication peripheral.
Definition: no_os_uart.c:58
int max14916_set_wd(struct max149x6_desc *desc, enum max14916_wd wd)
Set watchdog timeout in the config2 register.
Definition: max14916.c:158
uint8_t divider_phase
Definition: ad9528.h:349
int lt7182s_read_value(struct lt7182s_dev *dev, int channel, enum lt7182s_value_type value_type, int *value)
Read a value.
Definition: lt7182s.c:1110
@ MAX14916_WD_600MS
Definition: max14916.h:92
#define SYSREF_NSHOT_8_PULSES
Definition: ad9528.h:295
@ ADP1050_EEPROM_PASS
Definition: adp1050.h:418
#define RX_CORE_BASEADDR
Definition: parameters.h:69
struct axi_dmac_init tx_dmac_init
Definition: main.c:178
@ BAT_OUT_IPEAK_ON
Definition: ltc3337.h:135
uint32_t na_hr
Definition: ltc3337.h:126
uint8_t driver_mode
Definition: ad9528.h:344
int ad7091r8_spi_reg_write(struct ad7091r8_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7091r8.c:75
uint16_t resolution
Definition: pulsar_adc.h:97
#define AD7091R8_REG_RESULT_CH_ID_MASK
Definition: ad7091r8.h:71
max22200_ch_op_mode
Definition: max22200.h:108
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:120
int32_t ad738x_remove(struct ad738x_dev *dev)
Free the resources allocated by ad738x_init().
Definition: ad738x.c:463
int adxl313_set_fifo_mode(struct adxl313_dev *dev, enum adxl313_fifo_mode mode)
Definition: adxl313.c:869
struct ltc2672_init_param ltc2672_ip
Definition: common_data.c:68
#define NULL
Definition: wrapper.h:64
bool nco_used
Definition: ad9545.h:683
Header file of MAX14914 Driver.
struct adis_init_param adis1657x_ip
Definition: common_data.c:82
@ LT7182S_CHAN_1
Definition: lt7182s.h:239
unsigned int phase_lock_drain_rate
Definition: ad9545.h:672
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:203
#define MQTT_PUBLISH_TOPIC
Definition: common_data.h:81
@ MAX2201X_STEP_SIZE_4096BITS
Definition: max2201x.h:163
Header file of MAX14906 Driver.
struct _adxl313_int_reg_flags fields
Definition: adxl313.h:449
uint32_t a_hr
Definition: ltc3337.h:125
int32_t ad463x_set_pgia_gain(struct ad463x_dev *dev, enum ad463x_pgia_gain gain_idx)
Set the PGIA gain.
Definition: ad463x.c:922
int32_t ad9545_init(struct ad9545_dev **device, struct ad9545_init_param *init_param)
Definition: ad9545.c:1541
@ NO_OS_EVT_GPIO
Definition: no_os_irq.h:68
#define SOURCE_SYSREF_VCO
Definition: ad9528.h:266
int32_t pulsar_adc_read_data(struct pulsar_adc_dev *dev, uint32_t *buf, uint16_t samples)
Definition: pulsar_adc.c:273
uint32_t d_tol_ppb
Definition: ad9545.h:663
BASIC example header for eval-adis1655x project.
Device initialization parameters.
Definition: ad463x.h:243
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:113
Definition: axi_jesd204_rx.h:63
uint8_t monitor_hyst_scale
Definition: ad9545.h:664
int32_t close_pqm_channels(void *dev)
close all channels
Definition: basic_example.c:97
int ad7091r8_init(struct ad7091r8_dev **device, struct ad7091r8_init_param *init_param)
Definition: ad7091r8.c:386
@ AD9545_SINGLE_ENDED
Definition: ad9545.h:523
Structure holding the MAX14914 device descriptor.
Definition: max14914.h:58
AD796X Device structure.
Definition: ad796x.h:91
Header file of ADT75 Driver.
int ltc4306_remove(struct ltc4306_dev *dev)
Free the resources allocated by ltc4306_init().
Definition: ltc4306.c:131
int max2201x_remove(struct max2201x_desc *desc)
Free the resources allocated during init and perform a soft reset.
Definition: max2201x.c:683
struct max2201x_desc * max2201x_desc
Definition: max2201x.h:192
int32_t axi_adc_remove(struct axi_adc *adc)
AXI ADC Resources deallocation.
Definition: axi_adc_core.c:687
Definition: lt7182s.h:367
struct ad9528_platform_data * pdata
Definition: ad9528.h:509
int max14906_init(struct max149x6_desc **desc, struct max149x6_init_param *param)
Initialize and configure the MAX14906 device.
Definition: max14906.c:174
#define MQTT_CONFIG_CMD_TIMEOUT
Definition: common_data.h:83
#define MQTT_CONFIG_KEEP_ALIVE
Definition: common_data.h:85
struct ad9545_sys_clk sys_clk
Definition: ad9545.h:766
int32_t no_os_irq_ctrl_remove(struct no_os_irq_ctrl_desc *desc)
Free the resources allocated by no_os_irq_ctrl_init().
Definition: no_os_irq.c:77
Basic example header file for adp1050 project.
#define AD9545_CLK_NCO
Definition: ad9545.h:77
#define AD5460_CH_C
Definition: ad5460.h:197
const struct pulsar_adc_dev_info * dev_info
Definition: pulsar_adc.h:118
int ltc2672_setup_toggle_channel(struct ltc2672_dev *device, enum ltc2672_dac_ch out_ch, uint32_t current_reg_a, uint32_t current_reg_b)
setup toggle parameters for a channel
Definition: ltc2672.c:473
int pqm_start_measurement(bool waitingForSync)
Starts Power Quality measurement as per configured cycles.
Definition: pqlib_example.c:74
@ MAX2201X_CH1
Definition: max2201x.h:183
Basic example header for demo_esp project.
Driver for the Analog Devices AXI-JESD204-RX peripheral.
int max22196_remove(struct max22196_desc *desc)
Free the resources allocated during init.
Definition: max22196.c:563
unsigned int phase_thresh_ps
Definition: ad9545.h:687
int32_t ad9528_init(struct ad9528_init_param *init_param)
Initializes the AD9528.
Definition: ad9528.c:305
#define RX_JESD_BASEADDR
Definition: parameters.h:71
struct axi_dac_init tx_dac_init
Definition: main.c:161
int adxl313_self_test(struct adxl313_dev *dev)
Definition: adxl313.c:2126
int32_t ad463x_init(struct ad463x_dev **device, struct ad463x_init_param *init_param)
Initialize the device.
Definition: ad463x.c:693
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:55
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:56
@ MAX14916_SLED_ON
Definition: max14916.h:86
struct no_os_timer_init_param timer_ip
Definition: common_data.c:66
#define ADRV9025_LANE_RATE_KHZ
Definition: app_config.h:50
max22190_delay
Definition: max22190.h:103
@ LTC_CFG_APL_MODE
Definition: ltc4296.h:307
struct lt8722_init_param lt8722_ip
Definition: common_data.c:77
#define TX_DMA_BASEADDR
Definition: parameters.h:117
int max11205_get_data_mv(struct max11205_dev *dev, int16_t raw_data, int32_t *data_mv)
Get the converted data.
Definition: max11205.c:193
int32_t no_os_irq_enable(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id)
Enable specific interrupt.
Definition: no_os_irq.c:187
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:495
int32_t axi_dac_remove(struct axi_dac *dac)
AXI DAC Resources deallocation.
Definition: axi_dac_core.c:1024
Implementation of max11205.h.
#define ADRV9025_TX_JESD_CONV_RESOLUTION
Definition: app_config.h:55
@ MAX22196_DELAY_100US
Definition: max22196.h:122
int adxl313_set_offset(struct adxl313_dev *dev, int32_t offset_ug, enum adxl313_axis axis)
Definition: adxl313.c:490
Header file of GPIO Interface.
@ LTC_PORT2
Definition: ltc4296.h:252
@ MAX14916_OW_OFF_CS_300UA
Definition: max14916.h:99
void gpio_callback_fn(void *ctx)
Definition: basic_example.c:54
@ LT7182S_CHAN_0
Definition: lt7182s.h:238
Header file for the LTC3337 Driver.
int adxl313_set_op_mode(struct adxl313_dev *dev, enum adxl313_op_mode op_mode)
Definition: adxl313.c:425
int adf4382_init(struct adf4382_dev **dev, struct adf4382_init_param *init_param)
Initializes the ADF4382.
Definition: adf4382.c:1187
struct no_os_clk_desc * clk_out
Definition: axi_adxcvr.h:99
@ NO_OS_GPIO_IRQ
Definition: no_os_irq.h:91
int max22200_get_chop_freq(struct max22200_desc *desc, enum max22200_chopping_freq *chopping_freq)
Read chopping frequency.
Definition: max22200.c:487
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:94
Header file of AD796X Driver.
uint8_t output_dis
Definition: ad9528.h:342
@ MAX22196_SOURCE_MODE
Definition: max22196.h:117
const char * name
Definition: axi_jesd204_tx.h:107
#define AD9545_CLK_AUX_TDC
Definition: ad9545.h:78
int adxl313_disable_full_res(struct adxl313_dev *dev)
Definition: adxl313.c:1991
int max22196_set_chan_cnt(struct max22196_desc *desc, uint32_t ch, uint16_t cnt_msb_lsb_bytes)
MAX22196 channel counter set function
Definition: max22196.c:419
unsigned int freq_thresh_ps
Definition: ad9545.h:669
struct no_os_irq_init_param max11205_gpio_irq_ip
Definition: common_data.c:78
#define ADRV9025_TX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:52
int lt8722_set_output_voltage(struct lt8722_dev *dev, int64_t value)
Set output volatge of LT8722 device.
Definition: lt8722.c:898
int basic_pqm_firmware()
PQM example main execution.
Definition: basic_example.c:110
@ LTC2672_MUX_VREF
Definition: ltc2672.h:150
uint32_t ext_buff_len
Definition: common_data.h:123
int ltc3337_get_voltage_mv(struct ltc3337_dev *dev, enum ltc3337_voltage_src_t source, uint32_t *value)
Definition: ltc3337.c:159
int max14916_remove(struct max149x6_desc *desc)
Free the resources allocated during init.
Definition: max14916.c:321
int LTC4306_USED_DOWNSTREAM_CHANNELS[]
Definition: basic_example.c:52
int pqm_measurement_init(void)
Initializes Power Quality Measurement.
Definition: pqlib_example.c:59
Header file of MAX14919 Driver.
Header file of MAX22190 Driver.
Basic example header for eval-ad74416h project.
int ltc3337_remove(struct ltc3337_dev *dev)
Definition: ltc3337.c:138
#define MQTT_PAYLOAD_BUFF_LEN
Definition: common_data.h:89
int32_t ad469x_get_num_channels(struct ad469x_dev *dev, uint8_t *num_channels)
Definition: ad469x.c:272
#define TX_JESD_BASEADDR
Definition: parameters.h:96
int max2201x_slew_rate(struct max2201x_desc *desc, enum max2201x_channel ch, enum max2201x_sr_step_size step_size, enum max2201x_sr_update_rate update_rate, bool enable, bool hart)
Set slew rate settings for requested channels.
Definition: max2201x.c:333
int max14919_get_fault(struct max14919_desc *desc, uint8_t *fault)
Get the FAULT state of the device.
Definition: max14919.c:97
BASIC example header for eval-adis1647x project.
Header file of utility functions.
Basic example header for ad469x project.
int ad5460_init(struct ad5460_desc **desc, struct ad5460_init_param *init_param)
Initialize the device structure.
Definition: ad5460.c:560
int adp1050_read_value(struct adp1050_desc *desc, uint16_t *mant, uint8_t *exp, enum adp1050_value_type val_type)
Read VIN/IIN/TEMP/DUTY_CYCLE/FREQ raw value from the ADP1050.
Definition: adp1050.c:212
Header file of ADXL313 Driver.
int max538x_set_voutput(struct max538x_dev *dev, float vout)
Sets the DAC output voltage using vout.
Definition: max538x.c:175
Header file of MAX14916 Driver.
#define MAX_CH_ATTRS
Definition: common_data.h:75
#define SYSREF_LEVEL_HIGH
Definition: ad9528.h:299
int32_t no_os_sign_extend32(uint32_t value, int index)
uint8_t signal_source
Definition: ad9528.h:345
bool ref_used
Definition: ad9545.h:662
struct ad9545_aux_tdc_clk aux_tdc_clks[NO_OS_ARRAY_SIZE(ad9545_aux_tdc_clk_names)]
Definition: ad9545.h:773
#define DRIVER_MODE_DC_COUPLED_1V8
Definition: ad9545.h:61
#define WIFI_SSID
Definition: parameters.h:106
int32_t no_os_irq_trigger_level_set(struct no_os_irq_ctrl_desc *desc, uint32_t irq_id, enum no_os_irq_trig_level trig)
Set interrupt trigger level.
Definition: no_os_irq.c:168
Basic example header file for lt7182s project.
#define AD9545_CLK_OUT
Definition: ad9545.h:75
@ LTC_PORT3
Definition: ltc4296.h:253
int max14914_init(struct max14914_desc **desc, struct max14914_init_param *init_param)
Initialize the MAX14914 device.
Definition: max14914.c:130
bool output_used
Definition: ad9545.h:618
#define ADRV9025_TX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:53
void adis_remove(struct adis_dev *adis)
Remove adis device.
Definition: adis.c:168
#define MAX14906_SLED_MASK
Definition: max14906.h:79
#define MQTT_CONFIG_CLIENT_NAME
Definition: common_data.h:86
int max14916_set_sht_vdd_thr(struct max149x6_desc *desc, enum max14916_sht_vdd_thr sht_vdd_thr)
Set short to vdd threshold in the config2 register.
Definition: max14916.c:191
int max31855_init(struct max31855_dev **device, struct max31855_init_param *init_param)
Device and comm init function.
Definition: max31855.c:63
int adp1050_init(struct adp1050_desc **desc, struct adp1050_init_param *init_param)
Initialize the ADP1050 device.
Definition: adp1050.c:1085
int max22196_filter_set(struct max22196_desc *desc, uint32_t ch, uint32_t flt_en, uint32_t clr_filtr, enum max22196_delay delay)
MAX22196 filter set function
Definition: max22196.c:236
ADT75 device descriptor.
Definition: adt75.h:85
AD74416h device descriptor.
Definition: ad74416h.h:635
Definition: no_os_irq.h:129
uint8_t channel_num
Definition: ad9528.h:338
struct adt75_init_param adt75_ip
Definition: common_data.c:182
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:153
Header file for the LTC4296 Driver.
void mqtt_message_handler(struct mqtt_message_data *msg)
Definition: basic_example.c:143
Definition: common_data.h:120
@ LT7182S_VIN
Definition: lt7182s.h:262
#define AD9545_Q1A
Definition: ad9545.h:91
#define ADP1050_STATUS_WORD
Definition: adp1050.h:231
Structure containing the init parameters needed by the ad469x device.
Definition: ad469x.h:260
struct iio_app_device * devices
Definition: iio_app.h:113
int adp1050_vout_scale(struct adp1050_desc *desc, int8_t exp, uint16_t mant)
Set ADP1050 VOUT scale, regarding the resistor divider assigned to the VS pins.
Definition: adp1050.c:279
struct max149x6_init_param max14906_ip
Definition: common_data.c:278
Header file for pulsar_adc Driver.
Basic example header for eval-ltc4306 project.
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:105
struct ad9545_pll_clk pll_clks[NO_OS_ARRAY_SIZE(ad9545_pll_clk_names)]
Definition: ad9545.h:768
int max538x_init(struct max538x_dev **device, struct max538x_init_param init_param)
Initializes the communication peripheral and checks if the device is present.
Definition: max538x.c:117
@ ADXL313_STDBY
Definition: adxl313.h:270
struct no_os_clk_desc ** clk_desc
Definition: ad9528.h:496
int32_t ad9528_setup(struct ad9528_dev **device, struct ad9528_init_param init_param)
Initializes the AD9528.
Definition: ad9528.c:708
@ ADP1050_TRIM_PASS
Definition: adp1050.h:419
const char * name
Definition: axi_adc_core.h:151
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:110
#define SERVER_PORT
Definition: common_data.h:71
int max14914_set_state(struct max14914_desc *desc, enum max14914_state state)
Set the state of the MAX14914.
Definition: max14914.c:52
@ BAT_IN_IPEAK_ON
Definition: ltc3337.h:133
int max2201x_init(struct max2201x_desc **desc, struct max2201x_init_param *param)
Initialize and configure the MAX2201X device.
Definition: max2201x.c:593
struct ad9545_dpll_profile profiles[AD9545_MAX_DPLL_PROFILES]
Definition: ad9545.h:648
@ ADP1050_CHIP_PASS
Definition: adp1050.h:417
int ad74416h_remove(struct ad74416h_desc *desc)
Free the device descriptor.
Definition: ad74416h.c:1051
uint32_t nb_devices
Definition: iio_app.h:115
@ RZERO_1850_OHM
Definition: ad9523.h:356
Definition: axi_dmac.h:116
uint8_t ACTIVITY
Definition: adxl313.h:421
unsigned int fast_acq_timeout_ms
Definition: ad9545.h:634
AD796X Device initialization parameters.
Definition: ad796x.h:77
int32_t ad469x_seq_read_data(struct ad469x_dev *dev, uint32_t *buf, uint32_t samples)
Read from device when converter has the channel sequencer activated. Enter register mode to read/writ...
Definition: ad469x.c:765
int max22200_fault_mask_set(struct max22200_desc *desc, enum max22200_fault_mask fault_mask, bool enabled)
Set fault mask bits in the status register.
Definition: max22200.c:203
#define MQTT_CONFIG_CLI_PASS
Definition: common_data.h:88
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:131
int32_t ad463x_exit_reg_cfg_mode(struct ad463x_dev *dev)
Exit register configuration mode.
Definition: ad463x.c:268
struct ltc4296_init_param ltc4296_ip
Definition: common_data.c:61
int max31855_remove(struct max31855_dev *device)
Remove resources allocated by the init function.
Definition: max31855.c:90
int max31855_read_temp(struct max31855_dev *device, struct max31855_decimal *thermocouple_temp, struct max31855_decimal *internal_temp)
Read thermocouple and internal temperatures (converted in deg. C)
Definition: max31855.c:137
int adxl313_init(struct adxl313_dev **device, struct adxl313_init_param init_param)
Definition: adxl313.c:168
#define AD9545_CLK_AUX_TDC0
Definition: ad9545.h:101
Basic example header for eval-ad5460 project.
int lt8722_init(struct lt8722_dev **device, struct lt8722_init_param *init_param)
Initialize the LT8722 device.
Definition: lt8722.c:1033
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:444
#define SCAN_SENSOR_TIME
Definition: common_data.h:92
int max22190_remove(struct max22190_desc *desc)
Free the resources allocated by initialization.
Definition: max22190.c:491
Driver for the Analog Devices AXI-JESD204-TX peripheral.
int max22190_filter_get(struct max22190_desc *desc, uint32_t ch, uint32_t *clrf, uint32_t *fbp, enum max22190_delay *delay)
Get filter delay, wite break detection and if the filter is used or bypassed.
Definition: max22190.c:131
int ltc2672_global_toggle(struct ltc2672_dev *device, bool is_enable)
enables or disables global toggle bit
Definition: ltc2672.c:556
@ LT7182S_TEMP
Definition: lt7182s.h:266
int max14919_set_out(struct max14919_desc *desc, enum max14919_out_state *state)
Set the OUT channels state.
Definition: max14919.c:49
@ ID_ADXL314
Definition: adxl313.h:253