Go to the documentation of this file.
34 #ifndef __BASIC_EXAMPLE_H__
35 #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:609
Header file of AD5460 Driver.
@ MAX14919_OUT_OFF
Definition: max14919.h:45
#define SYSREF_SRC_INTERNAL
Definition: ad9528.h:275
@ ADE7816_CHANNEL_A
Definition: ade7816.h:223
enum ad9545_ref_mode mode
Definition: ad9545.h:662
int max11205_get_data_raw(struct max11205_dev *dev, bool *new_data_avail, int16_t *data_raw)
Get the converted data.
Definition: max11205.c:167
int adp1050_remove(struct adp1050_desc *desc)
Free the resources allocated by the adp1050_init()
Definition: adp1050.c:1166
Driver for the Analog Devices AXI-ADC-CORE module.
Device descriptor for LT8722.
Definition: lt8722.h:373
int adp1050_set_close_loop(struct adp1050_desc *desc)
Set close loop operation.
Definition: adp1050.c:654
Union holding the flags for ADXL313 interrupt source.
Definition: adxl313.h:442
@ MAX25603_COMP1
Definition: max25603.h:45
int32_t axi_dac_data_setup(struct axi_dac *dac)
AXI DAC Data Setup.
Definition: axi_dac_core.c:1193
bool pll_used
Definition: ad9545.h:637
@ LT7182S_STATUS_ALL_TYPE
Definition: lt7182s.h:295
int32_t ad469x_init(struct ad469x_dev **device, struct ad469x_init_param *init_param)
Definition: ad469x.c:1065
int basic_example_main()
basic example main execution.
Definition: basic_example.c:53
#define ADP1050_STATUS_CML
Definition: adp1050.h:229
@ MAX22200_HHF_ENABLE
Definition: max22200.h:136
Data format in which the acceleration values are converted.
Definition: adxl313.h:388
const struct no_os_gpio_init_param adin1110_mssel_ip
Definition: common_data.c:181
int32_t ad7606_get_ch_scale(struct ad7606_dev *dev, uint8_t ch, double *scale)
Get the value of scale for the channel.
Definition: ad7606.c:1502
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:324
int32_t ad7606_get_resolution_bits(struct ad7606_dev *dev)
Get the resolution bits of this device.
Definition: ad7606.c:1524
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
uint16_t channel_divider
Definition: ad9528.h:345
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:644
@ MAX14916_FLED_TIME_2S
Definition: max14916.h:74
#define LTM4686_CHAN_1
Definition: ltm4686.h:206
#define AD9545_CLK_PLL
Definition: ad9545.h:70
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
unsigned int address
Definition: ad9545.h:679
bool tdc_used
Definition: ad9545.h:686
@ ID_LTC2984
Definition: ltc2983.h:153
@ MAX22200_FREQMAIN_DIV_2
Definition: max22200.h:131
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:126
uint8_t vout
Definition: lt7182s.h:365
int lt8491_read_iout(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery output current.
Definition: lt8491.c:320
bool sys_clk_crystal
Definition: ad9545.h:705
enum ad469x_channel_sequencing ch_sequence
Definition: ad469x.h:284
int ad796x_remove(struct ad796x_dev *dev)
Remove the device and release resources.
Definition: ad796x.c:223
#define ADXCVR_REFCLK
Definition: axi_adxcvr.h:55
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:333
unsigned int phase_thresh_ps
Definition: ad9545.h:664
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:1098
float dev_global_attr[PQM_DEVICE_ATTR_NUMBER]
Definition: common_data.h:140
struct ltc2983_sensor * sensors[20]
Definition: ltc2983.h:260
@ MAX22200_FREQ_80KHZ
Definition: max22200.h:99
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:460
#define PQM_DEVICE_ATTR_NUMBER
Definition: common_data.h:75
int ad7091r8_remove(struct ad7091r8_dev *dev)
Free the resources allocated by ad7091r8_init().
Definition: ad7091r8.c:458
uint8_t DATA_READY
Definition: adxl313.h:417
struct ad7091r8_init_param ad7091r8_ip
Definition: common_data.c:64
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
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:167
const struct no_os_gpio_init_param adin1110_tx2p4_ip
Definition: common_data.c:173
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
#define AD7606X_FMC_SAMPLE_NO
Definition: basic_example.c:51
int max42500_set_ov_thresh1(struct max42500_dev *desc, enum max42500_vm_input vm_in, float thresh)
Set the overvoltage threshold of VM1 to VM5.
Definition: max42500.c:304
struct lt8491_init_param lt8491_ip
Definition: common_data.c:55
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:753
@ LTM4686_PWM_FORCED_CONTINUOUS_MODE
Definition: ltm4686.h:307
ltp8800_vout_settings
Definition: ltp8800.h:192
const struct no_os_gpio_init_param adin1110_swpd_ip
Definition: common_data.c:165
unsigned int loop_bw_mhz
Definition: ad9545.h:698
Header file of MAX149X6 Base Driver.
uint32_t status0
Definition: ade7816.h:346
struct no_os_gpio_init_param gpio_wifi_rst_ip
Definition: common_data.c:68
ltm4686_pwm_mode
Definition: ltm4686.h:306
Basic example header file for ltm4686 project.
#define LTP8800_STATE_OFF
Definition: ltp8800.h:159
uint8_t max_channels_nr
Definition: ltc2983.h:264
int lt8491_read_vin(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry input voltage.
Definition: lt8491.c:392
int ltc2672_monitor_mux(struct ltc2672_dev *device, enum ltc2672_mux_commands mux_comm)
configures mux output depending on target measurement
Definition: ltc2672.c:443
int max22190_reg_read(struct max22190_desc *desc, uint32_t addr, uint32_t *val)
Register read function for MAX22190.
Definition: max22190.c:332
@ MAX22190_FAULT2_FAULT8CKE
Definition: max22190.h:120
const struct no_os_gpio_init_param adin1110_int_ip
Definition: common_data.c:69
@ MAX25603_EN2
Definition: max25603.h:52
#define NO_OS_GENMASK(h, l)
Definition: no_os_util.h:82
Definition: ltp8800.h:197
int ltc2672_remove(struct ltc2672_dev *device)
Remove resources allocated by the init function.
Definition: ltc2672.c:88
Device descriptor for MAX149X6.
Definition: max149x6-base.h:67
Basic example header for ad7091r8-sdz project.
#define MAX22196_CHANNELS
Definition: max22196.h:44
#define BUFF_LEN
Definition: common_data.h:68
uint32_t size
Definition: iio_app.h:63
int max25603_init(struct max25603_desc **desc, struct max25603_init_param *init_param)
MAX25603 descriptor initialization function.
Definition: max25603.c:235
Definition: axi_dmac.h:127
Header file for the ad7606 Driver.
struct max11205_init_param max11205_ip
Definition: common_data.c:78
int max14906_remove(struct max149x6_desc *desc)
Free the resources allocated during init and place all the channels in high-z.
Definition: max14906.c:278
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
uint32_t valid_t_ms
Definition: ad9545.h:659
AD5460 device descriptor.
Definition: ad5460.h:346
int ltc3337_init(struct ltc3337_dev **device, struct ltc3337_init_param *init_param)
Definition: ltc3337.c:86
#define MQTT_CONFIG_VERSION
Definition: common_data.h:78
float pqm_global_attr[PQM_DEVICE_ATTR_NUMBER]
Definition: common_data.h:132
int max14919_remove(struct max14919_desc *desc)
Free resources allocated by the init function.
Definition: max14919.c:191
void no_os_uart_stdio(struct no_os_uart_desc *desc)
Definition: no_os_uart.c:216
#define ADRV9025_RX_JESD_SUBCLASS
Definition: app_config.h:61
@ LT7170_IOUT
Definition: lt7170.h:237
@ ADP1050_DUTY_CYCLE
Definition: adp1050.h:524
enum max22200_ch_side chan_side
Definition: max22200.h:159
Header file of SPI Interface.
BASIC example header for eval-adis1654x project.
struct adxcvr * tx_adxcvr
Definition: app_jesd.c:53
int ltc2672_chip_power_down(struct ltc2672_dev *device)
power down ltc2672
Definition: ltc2672.c:384
Header file of AD74416h Driver.
int ltm4686_read_value(struct ltm4686_dev *dev, uint8_t channel, enum ltm4686_value_type value_type, int *value)
Read a value.
Definition: ltm4686.c:946
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:944
#define MAX_SIZE_BASE_ADDR_WITH_SIZE
Definition: common_data.h:69
Definition: max22190.h:88
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:92
@ MAX22017_CH1
Definition: max22017.h:172
Header file of MAX22196 Driver.
Structure holding te MAX14919 device descriptor.
Definition: max14919.h:69
@ MAX22017_OUTPUT_VOLTAGE_NO_MONITORRING
Definition: max22017.h:114
@ RPOLE2_900_OHM
Definition: ad9523.h:336
int32_t init_and_connect_wifi(struct wifi_desc **wifi)
Definition: basic_example.c:53
@ LTM4686_VOUT
Definition: ltm4686.h:255
#define DRIVER_MODE_AC_COUPLED_IF
Definition: ad9545.h:53
int jesd204_topology_init(struct jesd204_topology **topology, struct jesd204_topology_dev *devs, unsigned int devs_number)
int lt8491_read_scratch(struct lt8491_desc *dev, uint32_t *val)
Read the scratch register.
Definition: lt8491.c:510
int ltp8800_loop_compensation(struct ltp8800_dev *dev, uint8_t pole, uint8_t zero, uint8_t hf_gain, uint8_t lf_gain)
Program loop compensation for regulator transient response.
Definition: ltp8800.c:948
@ MAX42500_COMP_STAT_OFF
Definition: max42500.h:136
Output channel configuration.
Definition: ad9528.h:330
@ ADE7816_CHANNEL_F
Definition: ade7816.h:228
ADI JESD204B/C AXI_ADXCVR Highspeed Transceiver Device structure.
Definition: altera_adxcvr.h:89
@ LT7182S_IOUT
Definition: lt7182s.h:260
Definition: max22196.h:140
int lt8491_write_scratch(struct lt8491_desc *dev, uint32_t val)
Write the scratch register.
Definition: lt8491.c:530
#define LTM4686_CHAN_0
Definition: ltm4686.h:205
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
int ltc4162l_init(struct ltc4162l_desc **device, struct ltc4162l_init_param *init_param)
Initialize the LTC4162L device.
Definition: ltc4162l.c:254
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:203
int ltc3337_get_temperature_c(struct ltc3337_dev *dev, int16_t *value)
Definition: ltc3337.c:199
unsigned int priority
Definition: ad9545.h:625
const struct no_os_spi_init_param ad9528_spi_param
Definition: common_data.c:45
uint8_t iout
Definition: lt7182s.h:366
#define AD74416H_CH_C
Definition: ad74416h.h:53
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:71
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:225
int adxl313_set_range(struct adxl313_dev *dev, enum adxl313_range range)
Definition: adxl313.c:2039
#define MAX22196_MSB_MASK
Definition: max22196.h:74
#define MAX14916_CONFIG1_REG
Definition: max14916.h:58
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:4161
Basic example header file for ltc4296 project.
IIO application descriptor.
Definition: iio_app.h:80
enum ad9545_output_mode output_mode
Definition: ad9545.h:614
struct jesd204_dev * jdev
Definition: axi_jesd204_rx.h:81
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:273
#define WIFI_PASS
Definition: common_data.h:72
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
struct adis_init_param adis1647x_ip
Definition: common_data.c:76
int adp1050_read(struct adp1050_desc *desc, uint16_t command, uint8_t *data, uint8_t bytes_number)
Read data from ADP1050.
Definition: adp1050.c:74
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:552
#define AXI_ADC_RSTN
Definition: axi_adc_core.h:47
struct ad9545_aux_dpll_clk aux_dpll_clk
Definition: ad9545.h:761
int ade7816_set_reactive_thr(struct ade7816_desc *desc, uint16_t freq)
ADE7816 set reactive energy threshold value function.
Definition: ade7816.c:358
Header file of MAX22017 Driver.
uint32_t dividend
Definition: adis.h:229
int adis_read_y_gyro(struct adis_dev *adis, int32_t *y_gyro)
Read raw gyroscope data on y axis.
Definition: adis.c:1294
int max42500_set_nominal_voltage(struct max42500_dev *desc, enum max42500_vm_input vm_in, float voltage)
Set nominal voltage for VM1 to VM5.
Definition: max42500.c:217
void * buff
Definition: iio_app.h:64
Header file for basic example.
Header file for basic example.
struct pqm_init_para pqm_ip
Definition: common_data.c:151
int adt75_remove(struct adt75_desc *desc)
Free the device descriptor.
Definition: adt75.c:160
Header file of Delay functions.
uint8_t input
Definition: lt7182s.h:367
struct ad9545_aux_nco_clk aux_nco_clks[NO_OS_ARRAY_SIZE(ad9545_aux_nco_clk_names)]
Definition: ad9545.h:765
uint32_t axi_jesd204_rx_status_read(struct axi_jesd204_rx *jesd)
Read status of the JESD204 Receive Peripherial.
Definition: axi_jesd204_rx.c:212
@ LTC2672_50VREF
Definition: ltc2672.h:124
int adis_read_x_gyro(struct adis_dev *adis, int32_t *x_gyro)
Read raw gyroscope data on x axis.
Definition: adis.c:1275
@ BAT_OUT_IPEAK_OFF
Definition: ltc3337.h:130
int lt7182s_init(struct lt7182s_dev **device, struct lt7182s_init_param *init_param)
Initialize the device structure.
Definition: lt7182s.c:526
Definition: max22200.h:151
struct ltc4162l_init_param ltc4162l_ip
Definition: common_data.c:56
const char * name
Definition: no_os_clk.h:46
max14916_wd
Definition: max14916.h:83
int adf4382_remove(struct adf4382_dev *dev)
Free resources allocated for ADF4382.
Definition: adf4382.c:1283
Definition: common_data.h:130
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
int32_t pqm_remove(struct pqm_desc *desc)
Remove pqm descriptor.
Definition: basic_example.c:69
max22200_chopping_freq
Definition: max22200.h:97
#define ADC_DDR_BASEADDR
Definition: main.c:62
struct max25603_init_param max25603_ip
Definition: common_data.c:90
int ad9545_calib_aplls(struct ad9545_dev *dev)
Definition: ad9545.c:2045
struct max22196_init_param max22196_ip
Definition: common_data.c:61
int32_t port
Definition: no_os_gpio.h:81
struct ad5460_init_param ad5460_ip
Definition: common_data.c:64
@ ADE7816_CHANNEL_VOLTAGE
Definition: ade7816.h:222
@ ADP1050_VOUT_TR_200UV_US
Definition: adp1050.h:471
int32_t no_os_clk_init(struct no_os_clk_desc **desc, const struct no_os_clk_init_param *param)
Definition: pulsar_adc.h:119
@ MAX14919_OUT_ON
Definition: max14919.h:46
int ade7816_set_active_thr(struct ade7816_desc *desc, uint16_t freq)
ADE7816 set active energy threshold value function.
Definition: ade7816.c:238
#define TOTAL_PQM_CHANNELS
Definition: common_data.h:72
Definition: ade7816.h:327
unsigned int fast_acq_excess_bw
Definition: ad9545.h:627
#define GPIO_IRQ_ID
Definition: parameters.h:45
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:587
int ade7816_reg_update(struct ade7816_desc *desc, uint16_t reg, uint32_t mask, uint32_t val)
Register update function.
Definition: ade7816.c:71
struct max22017_init_param max22017_ip
Definition: common_data.c:63
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:390
#define ADRV9025_TX_JESD_BITS_PER_SAMPLE
Definition: app_config.h:54
int ade7816_zx_detect(struct ade7816_desc *desc, enum ade7816_channel chan)
ADE7816 zero-crossing detection for channel function.
Definition: ade7816.c:1067
Definition: lt7182s.h:320
Definition: ad9361_util.h:69
Header file for the ADP1050 Driver.
struct max538x_init_param max538x_user_init
Definition: common_data.c:63
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:172
int basic_example_main()
basic example main execution.
Definition: basic_example.c:53
struct no_os_clk_desc ** clks[4]
Definition: ad9545.h:749
@ LT7182S_VOUT
Definition: lt7182s.h:259
int max22200_init(struct max22200_desc **desc, struct max22200_init_param *init_param)
MAX22200 descriptor initialization function.
Definition: max22200.c:724
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
@ MAX22190_DELAY_50US
Definition: max22190.h:98
enum max22200_ch_drive chan_drive
Definition: max22200.h:160
struct adis_init_param adis1646x_ip
Definition: common_data.c:76
@ LTC2672_DAC3
Definition: ltc2672.h:117
uint32_t divisor
Definition: adis.h:231
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:130
int max22017_set_data(struct max22017_desc *desc, enum max22017_channel ch, int32_t data)
Set data of the selected channel.
Definition: max22017.c:274
uint8_t mac_address[ADIN1110_ETH_ALEN]
Definition: adin1110.h:218
ADXL313 Device structure.
Definition: adxl313.h:488
bool dpll_used
Definition: ad9545.h:695
int ltp8800_init(struct ltp8800_dev **device, struct ltp8800_init_param *init_param)
Initialize the device structure.
Definition: ltp8800.c:289
@ MAX25603_LOW_BEAM
Definition: max25603.h:58
#define MAX14906_SETLED_REG
Definition: max14906.h:46
Header file for basic example.
const struct no_os_clk_platform_ops refb_clk_ops
Definition: common_data.c:101
uint8_t vout
Definition: ltp8800.h:225
Timer control module header.
#define LTM4686_CHAN_ALL
Definition: ltm4686.h:209
Driver for the Analog Devices AXI-DAC-CORE module.
LT8491 descriptor.
Definition: lt8491.h:94
max14919_out_state
Definition: max14919.h:44
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:911
int lt8491_init(struct lt8491_desc **dev, struct lt8491_init_param *init_param)
Device and comm init function.
Definition: lt8491.c:109
LTC2983 descriptor.
Definition: ltc2983.h:248
@ MAX25603_DISABLE_BEAM
Definition: max25603.h:56
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
#define MAX14906_INT_REG
Definition: max14906.h:48
Definition: jesd204.h:248
Implementation of AD7091R-8 driver header file.
@ MAX22017_UNIPOLAR
Definition: max22017.h:122
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:152
struct no_os_circular_buffer * no_os_cb_desc
Definition: pqlib_example.h:154
@ ID_ADXL312
Definition: adxl313.h:245
uint8_t OVERRUN
Definition: adxl313.h:411
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:990
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:324
const char * name
Definition: axi_jesd204_rx.h:90
Basic example header for eval-adf4382.
#define DRIVER_MODE_LVDS
Definition: ad9528.h:253
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
#define ADP1050_TRIM_DEFAULT_PASS
Definition: adp1050.h:138
int32_t send(struct mqtt_desc *mqtt)
Definition: basic_example.c:246
@ NO_OS_IRQ_EDGE_FALLING
Definition: no_os_irq.h:79
int max31827_remove(struct max31827_device *dev)
Free resources allocated by the init function.
Definition: max31827.c:200
int ade7816_set_phase(struct ade7816_desc *desc, enum ade7816_channel chan, enum ade7816_pcf_coeff pcf_coeff)
ADE7816 set phase calibration coefficient function.
Definition: ade7816.c:960
int max25603_sel_comp(struct max25603_desc *desc, enum max25603_comp comp)
MAX25603 select comparator function.
Definition: max25603.c:44
struct no_os_clk_desc * parent_clk
Definition: ad9545.h:660
enum ad9545_single_ended_config s_conf
Definition: ad9545.h:670
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:4145
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:157
int max22017_config(struct max22017_desc *desc, enum max22017_channel ch, enum max22017_out_mode uni, enum max22017_cm_sense cm_sense, bool ldac)
Set AO configuration.
Definition: max22017.c:404
struct ad9545_init_param ad9545_ip
Definition: common_data.c:76
@ LT7170_VOUT
Definition: lt7170.h:236
uint8_t mfr_specific
Definition: lt7182s.h:370
Definition: jesd204.h:239
@ CPOLE1_16_PF
Definition: ad9523.h:356
@ MAX14906_CL_600
Definition: max14906.h:104
Header file for basic example.
int adxl313_software_reset(struct adxl313_dev *dev)
Definition: adxl313.c:375
@ LTC_PORT0
Definition: ltc4296.h:244
int adis_read_x_accl(struct adis_dev *adis, int32_t *x_accl)
Read raw acceleration data on x axis.
Definition: adis.c:1332
int ltc4296_port_en(struct ltc4296_dev *dev, enum ltc4296_port port_no)
Enable specific port.
Definition: ltc4296.c:684
uint8_t tdc_source
Definition: ad9545.h:631
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:66
#define MAX22190_DIGITAL_INPUT_REG
Definition: max22190.h:47
max14916_ow_off_cs
Definition: max14916.h:90
int ad74416h_init(struct ad74416h_desc **desc, struct ad74416h_init_param *init_param)
Initialize the device structure.
Definition: ad74416h.c:991
#define ADP1050_CHIP_DEFAULT_PASS
Definition: adp1050.h:135
struct axi_jesd204_tx * tx_jesd
Definition: app_jesd.c:50
#define AXI_ADC_REG_RSTN
Definition: axi_adc_core.h:45
int adf4368_init(struct adf4368_dev **dev, struct adf4368_init_param *init_param)
Initializes the adf4368.
Definition: adf4368.c:1893
int max11205_init(struct max11205_dev **device, struct max11205_init_param init_param)
Initializes the communication peripheral.
Definition: max11205.c:85
@ LTP8800_STATUS_ALL_TYPE
Definition: ltp8800.h:189
BASIC example header for adt75 project.
@ MAX22200_CURRENT_DRIVE
Definition: max22200.h:119
int max25603_remove(struct max25603_desc *desc)
Deallocates all the resources used at initialization.
Definition: max25603.c:341
@ ID_LTC2983
Definition: ltc2983.h:152
#define AD7606X_MODE_PARALLEL
Definition: parameters.h:44
int adp1050_set_pwm(struct adp1050_desc *desc, enum adp1050_channel chan, enum adp1050_freq freq)
Set PWM channel and frequency.
Definition: adp1050.c:471
uint8_t cml
Definition: ltp8800.h:229
int32_t ad738x_init(struct ad738x_dev **device, struct ad738x_init_param *init_param)
Definition: ad738x.c:394
max14906_climit
Current limit options for output channels.
Definition: max14906.h:103
int lt8491_configure_telemetry(struct lt8491_desc *dev, struct lt8491_init_param *init_param)
Device and comm init function.
Definition: lt8491.c:160
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:115
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:81
int32_t ad9545_setup(struct ad9545_dev *dev)
Definition: ad9545.c:2330
@ ADXL313_Z_AXIS
Definition: adxl313.h:340
Implementation of MAX31827 Driver.
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:1313
int lt7170_read_value(struct lt7170_dev *dev, enum lt7170_value_type value_type, int *value)
Read a value.
Definition: lt7170.c:680
int pqm_one_cycle(void)
One complete cycle for IIO callback function.
Definition: pqlib_example.c:117
@ MAX14916_SHT_VDD_THR_14V
Definition: max14916.h:101
#define AD9545_PLL0
Definition: ad9545.h:75
#define ADXL313_MAX_FIFO_ENTRIES
Definition: adxl313.h:201
struct adis_init_param adis1654x_ip
Definition: common_data.c:76
BASIC example header for eval-adis1657x project.
@ ADE7816_CHANNEL_E
Definition: ade7816.h:227
basic example header for DC2903A project
Basic example header file for lt8722 project.
#define ADRV9025_TX_JESD_HIGH_DENSITY
Definition: app_config.h:55
int max22190_wbe_get(struct max22190_desc *desc, uint32_t ch, bool *enabled)
Get Wire Break detection for requested channel.
Definition: max22190.c:183
int32_t axi_dmac_remove(struct axi_dmac *dmac)
Definition: axi_dmac.c:367
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:848
int max25603_set_beam(struct max25603_desc *desc, enum max25603_beam beam, uint32_t freq_hz, uint8_t duty)
MAX25603 set and configure BEAM PWM dimming.
Definition: max25603.c:136
Header file of Clock Driver.
uint8_t temp
Definition: lt7170.h:332
int ad5460_remove(struct ad5460_desc *desc)
Free the device descriptor.
Definition: ad5460.c:607
Basic example header file for lt7170 project.
Definition: ad7091r8.h:164
#define RX_DMA_BASEADDR
Definition: parameters.h:64
struct no_os_uart_desc * uart_desc
Definition: main.c:46
#define SYSREF_PATTERN_NSHOT
Definition: ad9528.h:278
struct no_os_gpio_desc * en_gpio
Definition: max149x6-base.h:70
Basic example header for the adrv902x project.
#define DRIVER_MODE_SINGLE_DIV_DIF
Definition: ad9545.h:64
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
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:189
int32_t integer
Definition: max31855.h:76
IIO_BUFF_TYPE iio_data_buffer_loc[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:149
struct adp1050_init_param adp1050_ip
Definition: common_data.c:61
uint32_t no_os_field_prep(uint32_t mask, uint32_t val)
struct no_os_irq_ctrl_desc * irq_ctrl
Definition: ade7816.h:306
struct max22017_desc * max22017_desc
Definition: max22017.h:181
Structure holding the GPIO initialization parameter for the MAX22017 GPIO Controller.
Definition: max22017.h:180
int adis_init(struct adis_dev **adis, const struct adis_init_param *ip)
Initialize adis device.
Definition: adis.c:99
int ltc4162l_get_chem_type(struct ltc4162l_desc *dev, uint16_t *val)
Get the chemistry type.
Definition: ltc4162l.c:328
ADF4368 Device Descriptor.
Definition: adf4368.h:442
int32_t ad796x_read_data(struct ad796x_dev *dev, uint32_t *buf, uint16_t samples)
Read data samples from adc.
Definition: ad796x.c:74
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:216
@ LTC4306_HIGH
Definition: ltc4306.h:102
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:1370
#define MQTT_SUBSCRIBE_TOPIC
Definition: common_data.h:76
int adis_read_y_accl(struct adis_dev *adis, int32_t *y_accl)
Read raw acceleration data on y axis.
Definition: adis.c:1351
struct axi_dmac * rx_dmac
Definition: main.c:171
uint32_t active_ch
Definition: common_data.h:134
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:70
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:235
Driver for the ADI AXI-ADXCVR Module.
int ltc4162l_read_ibat(struct ltc4162l_desc *dev, uint16_t *val)
Get the battery current.
Definition: ltc4162l.c:464
Stucture holding the UART descriptor.
Definition: no_os_uart.h:134
int32_t ad7606_read_samples(struct ad7606_dev *dev, uint32_t *data, uint32_t samples)
Read muliple raw samples from device.
Definition: ad7606.c:1065
enum adxl313_range range
Definition: adxl313.h:496
#define SYS_STATUS_SUCCESS
Definition: status.h:41
uint32_t pqm_ch_attr[TOTAL_PQM_CHANNELS][MAX_CH_ATTRS]
Definition: common_data.h:133
@ ADE7816_CHANNEL_B
Definition: ade7816.h:224
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:793
int32_t axi_jesd204_tx_remove(struct axi_jesd204_tx *jesd)
Free resoulces allocated for JESD204 TX peripheral.
Definition: axi_jesd204_tx.c:912
@ ADXL313_MEAS
Definition: adxl313.h:265
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:47
struct adf4368_init_param adf4368_ip
Definition: common_data.c:58
uint8_t input
Definition: lt7170.h:331
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:657
#define pr_debug(fmt, args...)
Definition: no_os_print_log.h:129
int ltc4306_set_gpio_output_state(struct ltc4306_dev *dev, int gpio, bool is_high)
Sets GPIO Output Driver state.
Definition: ltc4306.c:466
ADIS device descriptor structure.
Definition: adis.h:270
uint32_t ext_buff_len
Definition: common_data.h:135
uint8_t WATERMARK
Definition: adxl313.h:412
int adf4368_remove(struct adf4368_dev *dev)
Free resources allocated for ADF4368.
Definition: adf4368.c:1983
struct ltm4686_init_param ltm4686_ip
Definition: common_data.c:55
unsigned int address
Definition: ad9545.h:617
@ LTC2983_RSENSE
Definition: ltc2983.h:199
int ltc2672_set_current_all_channels(struct ltc2672_dev *device, uint32_t current)
sets the same current for all channels
Definition: ltc2672.c:254
MAX31855 descriptor.
Definition: max31855.h:97
struct ad7606_init_param ad7606x_init_param_parallel
Definition: common_data.c:146
int ltc4296_remove(struct ltc4296_dev *dev)
Free allocated resources.
Definition: ltc4296.c:1080
#define ADRV9025_RX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:60
int adt75_init(struct adt75_desc **desc, struct adt75_init_param *init_param)
Initialize the device structure.
Definition: adt75.c:132
int max22017_init(struct max22017_desc **desc, struct max22017_init_param *param)
Initialize and configure the MAX22017 device.
Definition: max22017.c:566
struct axi_dmac * tx_dmac
Definition: main.c:181
@ MAX42500_COMP_STAT_UV
Definition: max42500.h:137
unsigned int address
Definition: ad9545.h:623
@ LTC_PORT1
Definition: ltc4296.h:245
int lt7182s_remove(struct lt7182s_dev *dev)
Free or remove device instance.
Definition: lt7182s.c:719
Definition: ltc3337.h:101
bool ad469x_is_temp_channel(struct ad469x_dev *dev, uint8_t channel)
Definition: ad469x.c:279
#define TX_XCVR_BASEADDR
Definition: parameters.h:58
#define ADRV9025_TX_JESD_SUBCLASS
Definition: app_config.h:57
int ltc3337_get_accumulated_charge(struct ltc3337_dev *dev, struct charge_count_t *value, uint16_t *raw_value)
Definition: ltc3337.c:227
int max14919_init(struct max14919_desc **desc, struct max14919_init_param *init_param)
Initialize the MAX14919 device descriptor.
Definition: max14919.c:125
const struct no_os_gpio_init_param clkchip_gpio_init_param
Definition: common_data.c:55
unsigned int fast_acq_settle_ms
Definition: ad9545.h:629
@ IRQ_DISABLED
Definition: axi_dmac.h:79
int ltp8800_set_device_state(struct ltp8800_dev *dev, bool state)
Set device state.
Definition: ltp8800.c:978
int(* post_step_callback)(void *arg)
Definition: iio_app.h:119
ADF4382 Device Descriptor.
Definition: adf4382.h:506
int ltc2672_init(struct ltc2672_dev **device, struct ltc2672_init_param *init_param)
Device and communication init function.
Definition: ltc2672.c:58
struct adxl313_init_param adxl313_user_init
Definition: common_data.c:64
#define MQTT_CONFIG_CLI_USER
Definition: common_data.h:81
#define SERVER_ADDR
Definition: common_data.h:62
int ltc2672_enable_toggle_channel(struct ltc2672_dev *device, uint32_t mask)
enables or disables selected channel/s for toggling
Definition: ltc2672.c:532
int32_t pqm_init(struct pqm_desc **desc, struct pqm_init_para *param)
Initialize pqm descriptor.
Definition: basic_example.c:46
struct max22190_init_param max22190_ip
Definition: common_data.c:53
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:1130
#define AD9545_Q1B
Definition: ad9545.h:87
Definition: max25603.h:75
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:391
int ltp8800_read_status(struct ltp8800_dev *dev, enum ltp8800_status_type status_type, struct ltp8800_status *status)
Read statuses.
Definition: ltp8800.c:730
struct lt7182s_init_param lt7182s_ip
Definition: common_data.c:55
@ LT7170_STATUS_ALL_TYPE
Definition: lt7170.h:270
int adis_read_temp_out(struct adis_dev *adis, int32_t *temp_out)
Read raw temperature data.
Definition: adis.c:1389
@ MAX22017_50_OHM_RESISTOR
Definition: max22017.h:126
Basic example header file for max22190.
int max42500_remove(struct max42500_dev *desc)
Free the device descriptor.
Definition: max42500.c:805
@ ADE7816_CHANNEL_D
Definition: ade7816.h:226
Header file for the LT8722 Driver.
unsigned int freq_lock_fill_rate
Definition: ad9545.h:667
const char * name
Definition: axi_dac_core.h:70
#define JESD204_LINKS_ALL
Definition: jesd204.h:49
int lt8491_restart_chip(struct lt8491_desc *dev)
Restart the chip.
Definition: lt8491.c:493
max22196_delay
Definition: max22196.h:114
uint8_t vout
Definition: lt7170.h:329
ADIS fractional scale format structure; scale = dividend/divisor.
Definition: adis.h:227
struct no_os_gpio_init_param * gpio_resetb
Definition: ad9528.h:501
struct no_os_irq_init_param irq_ip
Definition: common_data.c:54
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:775
#define ADE7816_STATUS0_REG
Definition: ade7816.h:127
struct no_os_irq_ctrl_desc * irq_ctrl
Definition: max11205.h:79
Device driver initialization parameters.
Definition: ad7606.h:309
int max22196_init(struct max22196_desc **desc, struct max22196_init_param *param)
Initialize and configure the MAX22196 device.
Definition: max22196.c:501
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:409
int lt7170_remove(struct lt7170_dev *dev)
Free or remove device instance.
Definition: lt7170.c:428
char sign
Definition: pulsar_adc.h:92
Header file for basic example.
@ LT7170_VIN
Definition: lt7170.h:235
@ ID_ADXL313
Definition: adxl313.h:246
#define ADRV9025_STREAM_IMAGE_FILE
Definition: app_config.h:63
@ MAX14906_CL_300
Definition: max14906.h:106
Header file for init parameters.
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:144
@ ADXL313_4G_RANGE
Definition: adxl313.h:297
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:94
@ LTP8800_IOUT
Definition: ltp8800.h:165
int adis_read_z_gyro(struct adis_dev *adis, int32_t *z_gyro)
Read raw gyroscope data on z axis.
Definition: adis.c:1313
int lt7170_read_status(struct lt7170_dev *dev, enum lt7170_status_type status_type, struct lt7170_status *status)
Read statuses.
Definition: lt7170.c:698
int lt8491_read_charging_stage(struct lt8491_desc *dev, uint32_t *uval)
Read the telemetry battery charging stage.
Definition: lt8491.c:423
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:4209
@ ADXL313_ODR_800HZ
Definition: adxl313.h:328
@ MAX22190_CH_OFF
Definition: max22190.h:78
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:112
#define ADRV9025_RX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:59
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:109
@ AD469x_single_cycle
Definition: ad469x.h:168
const struct no_os_gpio_init_param adin1110_cfg1_ip
Definition: common_data.c:197
#define AD9545_NCO0
Definition: ad9545.h:91
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:93
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:628
@ MAX14914_DIGITAL_INPUT_IEC_TYPE2
Definition: max14914.h:46
Driver for the Analog Devices AXI-DMAC core.
struct max42500_init_param max42500_ip
Definition: common_data.c:55
int max31827_read_temp_input(struct max31827_device *dev, int32_t *val)
Read input temperature.
Definition: max31827.c:284
unsigned int loop_bw_uhz
Definition: ad9545.h:626
uint32_t irq_ctrl_id
Definition: no_os_irq.h:109
int lt8491_read_iin(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery input current.
Definition: lt8491.c:344
#define ADE7816_DICOEFF_REG
Definition: ade7816.h:55
uint8_t iout
Definition: ltp8800.h:226
@ MAX22200_LOW_SIDE
Definition: max22200.h:124
Structure holding ltc2672 descriptor.
Definition: ltc2672.h:177
#define ADRV9025_TX_JESD_CONVS_PER_DEVICE
Definition: app_config.h:52
#define MAX14906_CONFIG1_REG
Definition: max14906.h:53
#define MAX14916_FLED_STRETCH_MASK
Definition: max14916.h:66
adxl313_range
Enum for selecting range.
Definition: adxl313.h:293
int32_t pulsar_adc_remove(struct pulsar_adc_dev *dev)
Free the resources allocated by pulsar_adc_init().
Definition: pulsar_adc.c:386
int16_t * ext_buff
Definition: common_data.h:136
int ltp8800_set_fault_limit(struct ltp8800_dev *dev, enum ltp8800_limit_type limit, int limit_val)
Set overvalue and undervalue limits.
Definition: ltp8800.c:873
Header file for ad9545 Driver.
LTC4162L descriptor.
Definition: ltc4162l.h:139
int32_t ad9545_remove(struct ad9545_dev *dev)
Free the memory allocated by ad9545_init().
Definition: ad9545.c:2405
int lt8722_remove(struct lt8722_dev *dev)
Free the resources allocated by the lt8722_init()
Definition: lt8722.c:1148
int adf4368_set_rfout(struct adf4368_dev *dev, uint64_t val)
Set the desired output frequency and reset everything over to maximum supported value of 12....
Definition: adf4368.c:995
unsigned int freq_lock_drain_rate
Definition: ad9545.h:668
Structure holding CLK descriptor.
Definition: no_os_clk.h:75
int max22017_remove(struct max22017_desc *desc)
Free the resources allocated during init and perform a soft reset.
Definition: max22017.c:652
Header file of ltc4306 driver.
const struct no_os_clk_platform_ops refbb_clk_ops
Definition: common_data.c:105
int ltc4296_init(struct ltc4296_dev **device, struct ltc4296_init_param *init_param)
Device initialization.
Definition: ltc4296.c:1027
Basic example header file for ltp8800 project.
uint32_t axi_jesd204_tx_status_read(struct axi_jesd204_tx *jesd)
Read status of the JESD204 Transmit Peripherial.
Definition: axi_jesd204_tx.c:170
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:118
struct max14914_init_param max14914_ip
Definition: common_data.c:85
int init_and_connect_to_mqtt_broker(struct mqtt_desc **mqtt, struct wifi_desc *wifi)
Definition: basic_example.c:151
int adt75_get_single_temp(struct adt75_desc *desc, int32_t *val)
Read the current temperature sample (in milliCelsius)
Definition: adt75.c:107
#define MAX22190_CHANNELS
Definition: max22190.h:43
int max22190_init(struct max22190_desc **desc, struct max22190_init_param *param)
MAX22190 Initialization function.
Definition: max22190.c:427
unsigned int address
Definition: ad9545.h:661
uint8_t cml
Definition: lt7182s.h:369
Definition: axi_dac_core.h:68
struct jesd204_dev * jdev
Definition: ad9528.h:492
@ ADXL313_12G_RANGE
Definition: adxl313.h:301
struct max31827_init_param max31827_ip
Definition: common_data.c:55
max22017_op_mode
Definition: max22017.h:110
unsigned int freq_thresh_ps
Definition: ad9545.h:680
#define ADRV9025_DEVICE_CLK_KHZ
Definition: app_config.h:47
@ MAX42500_VM1
Definition: max42500.h:124
#define MAX22017_AO_GAIN_CORR_CH1
Definition: max22017.h:64
Definition: altera_adxcvr.h:102
int max14919_detect_rev(struct max14919_desc *desc, uint8_t *rev)
Detect reverse polarity of the current.
Definition: max14919.c:108
Header file for ad469x Driver.
max22200_ch_drive
Definition: max22200.h:118
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:231
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
int max14914_remove(struct max14914_desc *desc)
Free resources allocated by the init function.
Definition: max14914.c:204
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:45
#define ADP1050_STATUS_INPUT
Definition: adp1050.h:227
#define AD7091R8_REG_RESULT_DATA_MASK
Definition: ad7091r8.h:63
#define REAL_BITS
Definition: basic_example.c:43
const char * name
Definition: altera_adxcvr.h:103
unsigned int address
Definition: ad9545.h:688
int max22200_set_chop_freq(struct max22200_desc *desc, enum max22200_chopping_freq chopping_freq)
Set chopping frequency value.
Definition: max22200.c:214
struct adis_init_param adis1655x_ip
Definition: common_data.c:76
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:90
struct no_os_clk_desc * parent_clk
Definition: ad9545.h:690
struct max149x6_init_param max14916_ip
Definition: common_data.c:53
#define ADP1050_STATUS_VOUT
Definition: adp1050.h:226
num_channels
Definition: ad3552r.h:240
unsigned int phase_lock_fill_rate
Definition: ad9545.h:665
unsigned int source
Definition: ad9545.h:697
uint8_t iout
Definition: lt7170.h:330
uint8_t mfr_specific
Definition: ltp8800.h:230
struct no_os_uart_init_param uart_ip_stdio
Definition: common_data.c:205
struct axi_adc_init rx_adc_init
Definition: main.c:144
Definition: ltc3337.h:118
int lt8491_read_vbat(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery voltage.
Definition: lt8491.c:368
Implementation of adis1650x.h.
#define ADXL313_X_EN
Definition: adxl313.h:232
Definition: pulsar_adc.h:96
int ltc4162l_read_avg_vbat(struct ltc4162l_desc *dev, uint16_t *val)
Get the average battery voltage.
Definition: ltc4162l.c:436
uint8_t INACTIVITY
Definition: adxl313.h:414
uint32_t r_div_ratio
Definition: ad9545.h:655
enum adxl313_type dev_type
Definition: adxl313.h:494
#define AD738X_SHIFT
Definition: basic_example.c:48
struct ltc3337_init_param ltc3337_ip
Definition: common_data.c:56
void(* callback)(void *context)
Definition: no_os_irq.h:144
Definition: max11205.h:56
#define AD9545_Q0A
Definition: ad9545.h:79
@ LTP8800_FORWARD_DIODE_TEMP
Definition: ltp8800.h:166
struct no_os_spi_init_param spi_init
Definition: ad9528.h:499
int32_t ad463x_remove(struct ad463x_dev *dev)
Free the memory allocated by ad463x_init().
Definition: ad463x.c:946
int16_t * ext_buff
Definition: common_data.h:143
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific GPIO platform ops structure
Definition: maxim_gpio.c:320
@ ADXL313_FIFO_MODE
Definition: adxl313.h:349
int max31827_init(struct max31827_device **dev, struct max31827_init_param *init_param)
Device and comm init function.
Definition: max31827.c:158
#define AD738X_STORAGE_BITS
Definition: basic_example.c:46
int adxl313_get_int_source_reg(struct adxl313_dev *dev, union adxl313_int_src_reg_flags *int_status_flags)
Definition: adxl313.c:1915
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
@ ADP1050_OUTA
Definition: adp1050.h:396
@ ID_LTC2986
Definition: ltc2983.h:154
int ade7816_remove(struct ade7816_desc *desc)
Free the resources allocated during init.
Definition: ade7816.c:1657
int32_t decimal
Definition: max31855.h:77
#define MAX14906_SLED_CH(x)
Definition: basic_example.c:42
#define REF_MODE_EXT_REF
Definition: ad9528.h:270
@ BAT_IN_IPEAK_OFF
Definition: ltc3337.h:128
uint8_t temp
Definition: lt7182s.h:368
#define ADP1050_EEPROM_DEFAULT_PASS
Definition: adp1050.h:137
int lt8722_get_output_voltage(struct lt8722_dev *dev, int64_t *value)
Get output volatge of LT8722 device.
Definition: lt8722.c:912
Definition: no_os_clk.h:44
int iio_app_run(struct iio_app_desc *app)
#define AD9545_PLL1
Definition: ad9545.h:76
nhd_c12832a1z device structure.
Definition: nhd_c12832a1z.h:86
int32_t ad469x_remove(struct ad469x_dev *dev)
Free the memory allocated by ad469x_init().
Definition: ad469x.c:1194
struct max22200_init_param max22200_ip
Definition: common_data.c:61
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:57
int adxl313_get_raw_xyz(struct adxl313_dev *dev, int16_t *x_raw, int16_t *y_raw, int16_t *z_raw)
Definition: adxl313.c:742
Structure representing an ad469x device.
Definition: ad469x.h:305
int ade7816_read_reg(struct ade7816_desc *desc, uint16_t reg, uint32_t *val)
Register read wrapper function.
Definition: ade7816.c:45
Implementation of adis1655x.h.
Device descriptor for ADP1050.
Definition: adp1050.h:558
#define MAX14916_CHANNELS
Definition: max14916.h:43
int adxl313_set_odr(struct adxl313_dev *dev, enum adxl313_odr odr)
Definition: adxl313.c:1370
uint8_t input
Definition: ltp8800.h:227
struct no_os_uart_init_param uart_ip
Definition: common_data.c:52
struct adxcvr * rx_adxcvr
Definition: app_jesd.c:52
int ad796x_init(struct ad796x_dev **device, struct ad796x_init_param *init_param)
Initialize the device.
Definition: ad796x.c:159
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
BASIC example header for eval-adis1650x project.
#define RX_XCVR_BASEADDR
Definition: parameters.h:66
max22200_ch_freq
Definition: max22200.h:128
#define LTC4306_NUM_DOWNSTREAM
Definition: basic_example.c:48
#define AD9545_Q0B
Definition: ad9545.h:81
interger/decimal format used for temperature representation
Definition: max31855.h:75
@ ADP1050_49KHZ
Definition: adp1050.h:417
const struct no_os_gpio_platform_ops max22017_gpio_ops
Definition: max22017.c:674
int32_t ad7606_remove(struct ad7606_dev *dev)
Free any resource used by the driver.
Definition: ad7606.c:2073
const struct no_os_gpio_init_param adin1110_cfg0_ip
Definition: common_data.c:189
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
@ MAX22190_FAULT1_FAULT2E
Definition: max22190.h:114
struct ade7816_init_param ade7816_ip
Definition: common_data.c:70
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:935
Header file of I2C Interface.
#define MAX14906_CHANNELS
Definition: max14906.h:43
PQLIB_EXAMPLE pqlibExample
Definition: pqlib_example.c:45
int ltm4686_set_operation(struct ltm4686_dev *dev, uint8_t channel, enum ltm4686_operation_type operation)
Set channel operation.
Definition: ltm4686.c:1213
struct max14919_init_param max14919_ip
Definition: common_data.c:100
@ LTM4686_TEMP_IC
Definition: ltm4686.h:258
@ LTP8800_VIN
Definition: ltp8800.h:162
struct ad9528_dev * ad9528_device
int max14919_set_climit(struct max14919_desc *desc, bool state)
Set current limiting.
Definition: max14919.c:73
#define SOURCE_VCO
Definition: ad9528.h:258
int32_t pulsar_adc_init(struct pulsar_adc_dev **device, struct pulsar_adc_init_param *init_param)
Definition: pulsar_adc.c:296
Header file of PWM Interface.
int afe_init(void)
Initializes SPI handler, AFE register values.
Definition: afe_config.c:133
max14916_sht_vdd_thr
Definition: max14916.h:97
struct ad9545_ref_in_clk ref_in_clks[NO_OS_ARRAY_SIZE(ad9545_ref_clk_names)]
Definition: ad9545.h:763
int ad7091r8_sequenced_read(struct ad7091r8_dev *dev, uint16_t *read_val)
Definition: ad7091r8.c:533
Device Structure.
Definition: ltc4296.h:221
bool export_no_os_clk
Definition: ad9528.h:504
@ MAX22017_UPDATE_RATE_4KHZ_2KHZ
Definition: max22017.h:161
uint32_t no_os_field_get(uint32_t mask, uint32_t word)
@ ADE7816_CHANNEL_C
Definition: ade7816.h:225
int max22190_wbe_set(struct max22190_desc *desc, uint32_t ch, bool enabled)
Set Wire Break detection for requested channel.
Definition: max22190.c:207
#define MAX22196_LSB_MASK
Definition: max22196.h:73
Definition: axi_jesd204_tx.h:70
uint32_t source_ua
Definition: ad9545.h:615
Header file of ltc2672 Driver.
#define ADRV9025_TX_JESD_CTRL_BITS_PER_SAMPLE
Definition: app_config.h:56
unsigned int address
Definition: ad9545.h:638
struct axi_dmac_init rx_dmac_init
Definition: main.c:162
struct jesd204_dev * jdev
Definition: axi_jesd204_tx.h:92
struct adf4382_init_param adf4382_ip
Definition: common_data.c:58
@ MAX22017_STEP_SIZE_4096BITS
Definition: max22017.h:152
Implementation of adis1647x.h.
@ MAX14916_SLED_OFF
Definition: max14916.h:79
unsigned int pin_nr
Definition: ad9545.h:689
int lt8491_remove(struct lt8491_desc *dev)
Free resources allocated by the init function.
Definition: lt8491.c:138
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:1054
struct adis_init_param adis1650x_ip
Definition: common_data.c:76
int32_t axi_jesd204_tx_init(struct axi_jesd204_tx **jesd204, const struct jesd204_tx_init *init)
Device initialization.
Definition: axi_jesd204_tx.c:819
struct ad9545_out_clk out_clks[NO_OS_ARRAY_SIZE(ad9545_out_clk_names)]
Definition: ad9545.h:764
#define NO_OS_BIT(x)
Definition: no_os_util.h:45
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:262
MAX31827 descriptor.
Definition: max31827.h:116
@ MAX22200_M_UVM
Definition: max22200.h:88
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
#define ADXCVR_SYS_CLK_CPLL
Definition: axi_adxcvr.h:48
adp1050_vout_tr
Definition: adp1050.h:462
int32_t update_pqm_channels(void *dev, uint32_t mask)
active pqm channels
Definition: basic_example.c:78
int ltp8800_set_vin(struct ltp8800_dev *dev, int vin_on, int vin_off)
Set input voltage window at which power conversion will proceed.
Definition: ltp8800.c:846
int iio_app_remove(struct iio_app_desc *app)
bool en
Definition: ad9545.h:630
max22200_ch_side
Definition: max22200.h:123
int32_t ad9528_remove(struct ad9528_dev *dev)
Free the resources allocated by ad9528_setup().
Definition: ad9528.c:1123
#define ADE7816_RSTREAD_MASK
Definition: ade7816.h:188
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:372
struct ad74416h_init_param ad74416h_ip
Definition: common_data.c:64
#define SAMPLES_PER_CHANNEL
Definition: common_data.h:52
struct iio_device pqm_iio_descriptor
Definition: iio_pqm.c:1061
struct ltc4306_init_param ltc4306_user_init
Definition: common_data.c:61
int max22200_remove(struct max22200_desc *desc)
Deallocates all the resources used at initialization.
Definition: max22200.c:866
struct ltp8800_init_param ltp8800_ip
Definition: common_data.c:63
uint32_t ref_freq_hz
Definition: ad9545.h:706
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:364
int ltc2983_init(struct ltc2983_desc **device, struct ltc2983_init_param *init_param)
Device and comm init function.
Definition: ltc2983.c:55
Definition: ltc4306.h:113
@ MAX22200_HALF_BRIDGE_MODE
Definition: max22200.h:105
struct max31855_init_param max31855_ip
Definition: common_data.c:59
int ltp8800_vout_value(struct ltp8800_dev *dev, int vout_command)
Set output voltage command.
Definition: ltp8800.c:802
Implementation of LT8491 Driver.
#define MAX14916_CONFIG2_REG
Definition: max14916.h:59
#define AXI_ADC_MMCM_RSTN
Definition: axi_adc_core.h:46
int32_t axi_dmac_init(struct axi_dmac **dmac_core, const struct axi_dmac_init *init)
Definition: axi_dmac.c:334
#define MAX22200_CHANNELS
Definition: max22200.h:44
@ MAX25603_DISABLE_EN
Definition: max25603.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:52
int max14916_set_wd(struct max149x6_desc *desc, enum max14916_wd wd)
Set watchdog timeout in the config2 register.
Definition: max14916.c:152
uint8_t divider_phase
Definition: ad9528.h:343
int lt7182s_read_value(struct lt7182s_dev *dev, int channel, enum lt7182s_value_type value_type, int *value)
Read a value.
Definition: lt7182s.c:1107
@ MAX14916_WD_600MS
Definition: max14916.h:86
#define SYSREF_NSHOT_8_PULSES
Definition: ad9528.h:289
@ ADP1050_EEPROM_PASS
Definition: adp1050.h:412
#define RX_CORE_BASEADDR
Definition: parameters.h:63
struct axi_dmac_init tx_dmac_init
Definition: main.c:172
int lt8491_read_tbat(struct lt8491_desc *dev, int32_t *val)
Read the telemetry battery temperature.
Definition: lt8491.c:224
@ BAT_OUT_IPEAK_ON
Definition: ltc3337.h:129
uint32_t na_hr
Definition: ltc3337.h:120
uint8_t driver_mode
Definition: ad9528.h:338
int ad7091r8_spi_reg_write(struct ad7091r8_dev *dev, uint8_t reg_addr, uint16_t reg_data)
Definition: ad7091r8.c:69
int lt7170_init(struct lt7170_dev **device, struct lt7170_init_param *init_param)
Initialize the device structure.
Definition: lt7170.c:304
uint16_t resolution
Definition: pulsar_adc.h:91
int max22017_reg_read(struct max22017_desc *desc, uint32_t addr, uint32_t *val)
Read the value of a device register.
Definition: max22017.c:468
#define AD7091R8_REG_RESULT_CH_ID_MASK
Definition: ad7091r8.h:65
@ LTM4686_OPERATION_ON
Definition: ltm4686.h:246
int ltc2983_chan_read(struct ltc2983_desc *device, const int chan, int *val)
Read channel data / temperature.
Definition: ltc2983.c:324
max22200_ch_op_mode
Definition: max22200.h:102
void no_os_udelay(uint32_t usecs)
Wait until usecs microseconds passed.
Definition: aducm3029_delay.c:114
int32_t ad738x_remove(struct ad738x_dev *dev)
Free the resources allocated by ad738x_init().
Definition: ad738x.c:457
int adxl313_set_fifo_mode(struct adxl313_dev *dev, enum adxl313_fifo_mode mode)
Definition: adxl313.c:863
struct ltc2672_init_param ltc2672_ip
Definition: common_data.c:62
uint8_t mfr_specific
Definition: lt7170.h:334
#define NULL
Definition: wrapper.h:64
bool nco_used
Definition: ad9545.h:677
Header file of MAX14914 Driver.
@ LTM4686_IOUT
Definition: ltm4686.h:256
struct adis_init_param adis1657x_ip
Definition: common_data.c:76
@ LT7182S_CHAN_1
Definition: lt7182s.h:234
int lt8491_read_efficiency(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery efficiency.
Definition: lt8491.c:296
#define ADE7816_LCYCMODE_REG
Definition: ade7816.h:161
unsigned int phase_lock_drain_rate
Definition: ad9545.h:666
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
#define MQTT_PUBLISH_TOPIC
Definition: common_data.h:75
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
Header file of MAX14906 Driver.
struct _adxl313_int_reg_flags fields
Definition: adxl313.h:443
int lt8491_write_enable(struct lt8491_desc *dev, uint32_t enable)
Write the telemetry battery charging enable.
Definition: lt8491.c:483
uint32_t a_hr
Definition: ltc3337.h:119
int32_t ad463x_set_pgia_gain(struct ad463x_dev *dev, enum ad463x_pgia_gain gain_idx)
Set the PGIA gain.
Definition: ad463x.c:916
int32_t ad9545_init(struct ad9545_dev **device, struct ad9545_init_param *init_param)
Definition: ad9545.c:1535
@ NO_OS_EVT_GPIO
Definition: no_os_irq.h:62
#define SOURCE_SYSREF_VCO
Definition: ad9528.h:260
int32_t pulsar_adc_read_data(struct pulsar_adc_dev *dev, uint32_t *buf, uint16_t samples)
Definition: pulsar_adc.c:267
uint32_t d_tol_ppb
Definition: ad9545.h:657
BASIC example header for eval-adis1655x project.
int init_lcd(void)
Initialize LCD screen and text.
Definition: afe_config.c:52
Device initialization parameters.
Definition: ad463x.h:237
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
Definition: axi_jesd204_rx.h:57
uint8_t monitor_hyst_scale
Definition: ad9545.h:658
int32_t close_pqm_channels(void *dev)
close all channels
Definition: basic_example.c:91
int ad7091r8_init(struct ad7091r8_dev **device, struct ad7091r8_init_param *init_param)
Definition: ad7091r8.c:380
@ AD9545_SINGLE_ENDED
Definition: ad9545.h:517
Structure holding the MAX14914 device descriptor.
Definition: max14914.h:52
AD796X Device structure.
Definition: ad796x.h:85
Header file of ADT75 Driver.
int ltc4306_remove(struct ltc4306_dev *dev)
Free the resources allocated by ltc4306_init().
Definition: ltc4306.c:125
int32_t axi_adc_remove(struct axi_adc *adc)
AXI ADC Resources deallocation.
Definition: axi_adc_core.c:681
Definition: lt7182s.h:362
struct ad9528_platform_data * pdata
Definition: ad9528.h:503
int max14906_init(struct max149x6_desc **desc, struct max149x6_init_param *param)
Initialize and configure the MAX14906 device.
Definition: max14906.c:168
#define MQTT_CONFIG_CMD_TIMEOUT
Definition: common_data.h:77
#define MQTT_CONFIG_KEEP_ALIVE
Definition: common_data.h:79
int ade7816_init(struct ade7816_desc **desc, struct ade7816_init_param *init_param)
Initialize and configure the ADE7816 device.
Definition: ade7816.c:1417
struct ad9545_sys_clk sys_clk
Definition: ad9545.h:760
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:71
int32_t ad7606_init(struct ad7606_dev **device, struct ad7606_init_param *init_param)
Initialize the ad7606 device structure.
Definition: ad7606.c:1833
int ltp8800_remove(struct ltp8800_dev *dev)
Free or remove device instance.
Definition: ltp8800.c:404
Basic example header file for adp1050 project.
#define AD9545_CLK_NCO
Definition: ad9545.h:71
#define AD5460_CH_C
Definition: ad5460.h:191
const struct pulsar_adc_dev_info * dev_info
Definition: pulsar_adc.h:112
#define ADE7816_MASK0_REG
Definition: ade7816.h:133
uint8_t cml
Definition: lt7170.h:333
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:467
int pqm_start_measurement(bool waitingForSync)
Starts Power Quality measurement as per configured cycles.
Definition: pqlib_example.c:68
Basic example header for demo_esp project.
Driver for the Analog Devices AXI-JESD204-RX peripheral.
void ad7606_capture_post_disable(struct ad7606_dev *dev)
Disables buffer capture for an AXI SPI Engine or AXI Parallel interface.
Definition: ad7606.c:1036
int max22196_remove(struct max22196_desc *desc)
Free the resources allocated during init.
Definition: max22196.c:557
unsigned int phase_thresh_ps
Definition: ad9545.h:681
int32_t ad9528_init(struct ad9528_init_param *init_param)
Initializes the AD9528.
Definition: ad9528.c:299
#define RX_JESD_BASEADDR
Definition: parameters.h:65
uint8_t type
Definition: ltc2983.h:274
struct axi_dac_init tx_dac_init
Definition: main.c:155
int adxl313_self_test(struct adxl313_dev *dev)
Definition: adxl313.c:2122
int32_t ad463x_init(struct ad463x_dev **device, struct ad463x_init_param *init_param)
Initialize the device.
Definition: ad463x.c:687
struct axi_jesd204_rx * rx_jesd
Definition: app_jesd.c:49
#define ADXCVR_SYS_CLK_QPLL0
Definition: axi_adxcvr.h:50
@ MAX14916_SLED_ON
Definition: max14916.h:80
Header file of the LTM4686 driver.
int max42500_set_uv_thresh1(struct max42500_dev *desc, enum max42500_vm_input vm_in, float thresh)
Set the undervoltage threshold of VM1 to VM5.
Definition: max42500.c:375
struct ad7606_init_param ad7606x_init_param_serial
Definition: common_data.c:185
struct no_os_timer_init_param timer_ip
Definition: common_data.c:60
int max25603_set_enable(struct max25603_desc *desc, enum max25603_enable enable, uint32_t freq_hz, uint8_t duty)
MAX25603 set and configure ENABLE PWM dimming.
Definition: max25603.c:65
#define ADRV9025_LANE_RATE_KHZ
Definition: app_config.h:48
Header file of MAX25603 Driver.
max22190_delay
Definition: max22190.h:97
@ LTC_CFG_APL_MODE
Definition: ltc4296.h:301
Definition: ltm4686.h:311
struct lt8722_init_param lt8722_ip
Definition: common_data.c:71
int max11205_get_data_mv(struct max11205_dev *dev, int16_t raw_data, int32_t *data_mv)
Get the converted data.
Definition: max11205.c:187
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:181
int32_t adxcvr_remove(struct adxcvr *xcvr)
adxcvr_remove
Definition: altera_adxcvr.c:489
int ltc2983_remove(struct ltc2983_desc *device)
Remove resources allocated by the init function.
Definition: ltc2983.c:130
@ LTP8800_VOUT
Definition: ltp8800.h:164
int32_t axi_dac_remove(struct axi_dac *dac)
AXI DAC Resources deallocation.
Definition: axi_dac_core.c:1238
Implementation of max11205.h.
#define ADRV9025_TX_JESD_CONV_RESOLUTION
Definition: app_config.h:53
@ MAX22196_DELAY_100US
Definition: max22196.h:116
int adxl313_set_offset(struct adxl313_dev *dev, int32_t offset_ug, enum adxl313_axis axis)
Definition: adxl313.c:484
Header file of GPIO Interface.
@ LTC_PORT2
Definition: ltc4296.h:246
@ MAX14916_OW_OFF_CS_300UA
Definition: max14916.h:93
void gpio_callback_fn(void *ctx)
Definition: basic_example.c:48
@ LT7182S_CHAN_0
Definition: lt7182s.h:233
Header file for the LTC3337 Driver.
int ade7816_rms_to_micro(struct ade7816_desc *desc, enum ade7816_channel chan, uint32_t rms, uint32_t *micro)
ADE7816 root mean square measurement value conversion to microunits function.
Definition: ade7816.c:1279
int adxl313_set_op_mode(struct adxl313_dev *dev, enum adxl313_op_mode op_mode)
Definition: adxl313.c:419
int adf4382_init(struct adf4382_dev **dev, struct adf4382_init_param *init_param)
Initializes the ADF4382.
Definition: adf4382.c:1181
struct no_os_clk_desc * clk_out
Definition: axi_adxcvr.h:93
@ NO_OS_GPIO_IRQ
Definition: no_os_irq.h:85
int max22200_get_chop_freq(struct max22200_desc *desc, enum max22200_chopping_freq *chopping_freq)
Read chopping frequency.
Definition: max22200.c:481
JESD204B/C Receive Peripheral Initialization Structure.
Definition: axi_jesd204_rx.h:88
Header file of AD796X Driver.
uint8_t output_dis
Definition: ad9528.h:336
@ MAX22196_SOURCE_MODE
Definition: max22196.h:111
int lt8491_read_enable(struct lt8491_desc *dev, uint32_t *enable)
Read the telemetry battery charging enable.
Definition: lt8491.c:463
const char * name
Definition: axi_jesd204_tx.h:101
#define AD9545_CLK_AUX_TDC
Definition: ad9545.h:72
int adxl313_disable_full_res(struct adxl313_dev *dev)
Definition: adxl313.c:1987
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:413
unsigned int freq_thresh_ps
Definition: ad9545.h:663
struct no_os_irq_init_param max11205_gpio_irq_ip
Definition: common_data.c:72
#define ADRV9025_TX_JESD_OCTETS_PER_FRAME
Definition: app_config.h:50
int lt8722_set_output_voltage(struct lt8722_dev *dev, int64_t value)
Set output volatge of LT8722 device.
Definition: lt8722.c:892
int ade7816_write_reg(struct ade7816_desc *desc, uint16_t reg, uint32_t val)
Register write wrapper function.
Definition: ade7816.c:57
int basic_pqm_firmware()
PQM example main execution.
Definition: basic_example.c:132
@ LTC2672_MUX_VREF
Definition: ltc2672.h:144
uint32_t ext_buff_len
Definition: common_data.h:142
uint8_t temp
Definition: ltp8800.h:228
int lt8491_read_pout(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery output power.
Definition: lt8491.c:248
int ltc3337_get_voltage_mv(struct ltc3337_dev *dev, enum ltc3337_voltage_src_t source, uint32_t *value)
Definition: ltc3337.c:153
bool lcycle_mode
Definition: ade7816.h:349
int max14916_remove(struct max149x6_desc *desc)
Free the resources allocated during init.
Definition: max14916.c:315
int main(void)
main
Definition: basic_example.c:56
int LTC4306_USED_DOWNSTREAM_CHANNELS[]
Definition: basic_example.c:46
int pqm_measurement_init(void)
Initializes Power Quality Measurement.
Definition: pqlib_example.c:53
Header file of MAX14919 Driver.
@ LTM4686_VIN
Definition: ltm4686.h:253
int ade7816_read_reactive_energy(struct ade7816_desc *desc, enum ade7816_channel chan, int32_t *val)
ADE7816 read reactive energy value function.
Definition: ade7816.c:292
Header file of MAX22190 Driver.
@ LTP8800_VIN_OV_FAULT_LIMIT_TYPE
Definition: ltp8800.h:174
Basic example header for eval-ad74416h project.
max42500 device descriptor
Definition: max42500.h:197
struct lt7170_init_param lt7170_ip
Definition: common_data.c:61
int ltc3337_remove(struct ltc3337_dev *dev)
Definition: ltc3337.c:132
#define MQTT_PAYLOAD_BUFF_LEN
Definition: common_data.h:83
int32_t ad469x_get_num_channels(struct ad469x_dev *dev, uint8_t *num_channels)
Definition: ad469x.c:266
int adf4368_set_phase(struct adf4368_dev *dev, uint32_t phase_fs, bool phase_pol)
Set the phase adjustment in femto-seconds. Function choose the phase adjustment method according to I...
Definition: adf4368.c:1488
#define TX_JESD_BASEADDR
Definition: parameters.h:90
int max14919_get_fault(struct max14919_desc *desc, uint8_t *fault)
Get the FAULT state of the device.
Definition: max14919.c:91
BASIC example header for eval-adis1647x project.
struct adin1110_init_param adin1110_ip
Definition: common_data.c:221
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:554
enum ltc298x_id dev_type
Definition: ltc2983.h:242
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:206
int lt8491_read_serial_id(struct lt8491_desc *dev, uint32_t *val)
Read the serial ID.
Definition: lt8491.c:543
int lt8491_read_pin(struct lt8491_desc *dev, uint32_t *val)
Read the telemetry battery input power.
Definition: lt8491.c:272
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:169
Header file of MAX14916 Driver.
#define MAX_CH_ATTRS
Definition: common_data.h:74
#define SYSREF_LEVEL_HIGH
Definition: ad9528.h:293
int32_t no_os_sign_extend32(uint32_t value, int index)
uint8_t signal_source
Definition: ad9528.h:339
bool ref_used
Definition: ad9545.h:656
struct ad9545_aux_tdc_clk aux_tdc_clks[NO_OS_ARRAY_SIZE(ad9545_aux_tdc_clk_names)]
Definition: ad9545.h:767
#define DRIVER_MODE_DC_COUPLED_1V8
Definition: ad9545.h:55
#define WIFI_SSID
Definition: parameters.h:100
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:162
Basic example header file for lt7182s project.
#define AD9545_CLK_OUT
Definition: ad9545.h:69
Structure holding the MAX22017 device descriptor.
Definition: max22017.h:200
@ LTC_PORT3
Definition: ltc4296.h:247
int max14914_init(struct max14914_desc **desc, struct max14914_init_param *init_param)
Initialize the MAX14914 device.
Definition: max14914.c:124
bool output_used
Definition: ad9545.h:612
#define ADRV9025_TX_JESD_FRAMES_PER_MULTIFRAME
Definition: app_config.h:51
int max22017_slew_rate(struct max22017_desc *desc, enum max22017_channel ch, enum max22017_sr_step_size step_size, enum max22017_sr_update_rate update_rate, bool enable, bool hart)
Set slew rate settings for requested channels.
Definition: max22017.c:321
void adis_remove(struct adis_dev *adis)
Remove adis device.
Definition: adis.c:162
#define MAX14906_SLED_MASK
Definition: max14906.h:73
#define MQTT_CONFIG_CLIENT_NAME
Definition: common_data.h:80
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:185
int max42500_get_comp_status(struct max42500_dev *desc, enum max42500_vm_input vm_in, enum max42500_comp_stat comp_stat, uint8_t *status)
Get the status of the voltage monitor input.
Definition: max42500.c:264
int max31855_init(struct max31855_dev **device, struct max31855_init_param *init_param)
Device and comm init function.
Definition: max31855.c:57
int32_t ad7606_capture_pre_enable(struct ad7606_dev *dev)
Prepares buffer capture for an AXI SPI Engine or AXI Parallel interface.
Definition: ad7606.c:1018
int adp1050_init(struct adp1050_desc **desc, struct adp1050_init_param *init_param)
Initialize the ADP1050 device.
Definition: adp1050.c:1079
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:230
ADT75 device descriptor.
Definition: adt75.h:79
AD74416h device descriptor.
Definition: ad74416h.h:642
Definition: no_os_irq.h:123
uint8_t channel_num
Definition: ad9528.h:332
struct adt75_init_param adt75_ip
Definition: common_data.c:176
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
Header file for the LTC4296 Driver.
@ ADE7816_PCF_50HZ
Definition: ade7816.h:287
Parameters definition for AD7606X-FMC.
void mqtt_message_handler(struct mqtt_message_data *msg)
Definition: basic_example.c:137
@ LTP8800_VOUT_SETTING_ADI_FACTORY
Definition: ltp8800.h:193
Definition: common_data.h:139
@ LT7182S_VIN
Definition: lt7182s.h:257
int ade7816_read_rms(struct ade7816_desc *desc, enum ade7816_channel chan, uint32_t *rms)
ADE7816 read root mean square measurement value function.
Definition: ade7816.c:452
#define AD9545_Q1A
Definition: ad9545.h:85
#define ADP1050_STATUS_WORD
Definition: adp1050.h:225
Structure containing the init parameters needed by the ad469x device.
Definition: ad469x.h:254
int ltc4162l_read_vbat(struct ltc4162l_desc *dev, uint16_t *val)
Get the battery voltage.
Definition: ltc4162l.c:408
struct iio_app_device * devices
Definition: iio_app.h:107
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:273
struct max149x6_init_param max14906_ip
Definition: common_data.c:272
Header file for pulsar_adc Driver.
Basic example header for eval-ltc4306 project.
JESD204B/C Transmit Peripheral Initialization Structure.
Definition: axi_jesd204_tx.h:99
struct ad9545_pll_clk pll_clks[NO_OS_ARRAY_SIZE(ad9545_pll_clk_names)]
Definition: ad9545.h:762
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:111
int ade7816_read_active_energy(struct ade7816_desc *desc, enum ade7816_channel chan, int32_t *val)
ADE7816 read active energy function.
Definition: ade7816.c:172
int max42500_init(struct max42500_dev **desc, struct max42500_init_param *init_param)
Initialize the device structure.
Definition: max42500.c:633
@ ADXL313_STDBY
Definition: adxl313.h:264
struct no_os_clk_desc ** clk_desc
Definition: ad9528.h:490
int32_t ad9528_setup(struct ad9528_dev **device, struct ad9528_init_param init_param)
Initializes the AD9528.
Definition: ad9528.c:702
@ ADP1050_TRIM_PASS
Definition: adp1050.h:413
const char * name
Definition: axi_adc_core.h:145
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_rx.h:104
#define SERVER_PORT
Definition: common_data.h:65
int max14914_set_state(struct max14914_desc *desc, enum max14914_state state)
Set the state of the MAX14914.
Definition: max14914.c:46
@ BAT_IN_IPEAK_ON
Definition: ltc3337.h:127
int ltc4162l_get_cell_count(struct ltc4162l_desc *dev, uint16_t *val)
Get the number of cells.
Definition: ltc4162l.c:307
struct ad9545_dpll_profile profiles[AD9545_MAX_DPLL_PROFILES]
Definition: ad9545.h:642
int lt8491_read_charging_status(struct lt8491_desc *dev, uint32_t *charging)
Read the telemetry battery charging status.
Definition: lt8491.c:443
@ ADP1050_CHIP_PASS
Definition: adp1050.h:411
int ad74416h_remove(struct ad74416h_desc *desc)
Free the device descriptor.
Definition: ad74416h.c:1045
uint32_t nb_devices
Definition: iio_app.h:109
@ RZERO_1850_OHM
Definition: ad9523.h:350
@ MAX42500_COMP_STAT_OV
Definition: max42500.h:138
Basic example header for eval-adf4368.
Definition: axi_dmac.h:110
uint8_t ACTIVITY
Definition: adxl313.h:415
unsigned int fast_acq_timeout_ms
Definition: ad9545.h:628
AD796X Device initialization parameters.
Definition: ad796x.h:71
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:759
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:197
#define MQTT_CONFIG_CLI_PASS
Definition: common_data.h:82
struct no_os_clk_desc * lane_clk
Definition: axi_jesd204_tx.h:125
int32_t ad463x_exit_reg_cfg_mode(struct ad463x_dev *dev)
Exit register configuration mode.
Definition: ad463x.c:262
struct ltc4296_init_param ltc4296_ip
Definition: common_data.c:55
int max31855_remove(struct max31855_dev *device)
Remove resources allocated by the init function.
Definition: max31855.c:84
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:131
int adxl313_init(struct adxl313_dev **device, struct adxl313_init_param init_param)
Definition: adxl313.c:162
#define AD9545_CLK_AUX_TDC0
Definition: ad9545.h:95
int ltp8800_read_value(struct ltp8800_dev *dev, enum ltp8800_value_type value_type, int *value)
Read a value.
Definition: ltp8800.c:710
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:1027
int ltp8800_restore_user_settings(struct ltp8800_dev *dev)
Restore user settings.
Definition: ltp8800.c:1015
int ltm4686_init(struct ltm4686_dev **device, struct ltm4686_init_param *init_param)
Initialize the device structure.
Definition: ltm4686.c:460
int32_t adxcvr_init(struct adxcvr **ad_xcvr, const struct adxcvr_init *init)
adxcvr_init
Definition: altera_adxcvr.c:438
#define SCAN_SENSOR_TIME
Definition: common_data.h:86
struct ltc2983_init_param ltc2983_ip
Definition: common_data.c:65
int max22190_remove(struct max22190_desc *desc)
Free the resources allocated by initialization.
Definition: max22190.c:485
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:125
Definition: ltp8800.h:222
int ltc2672_global_toggle(struct ltc2672_dev *device, bool is_enable)
enables or disables global toggle bit
Definition: ltc2672.c:550
@ LT7182S_TEMP
Definition: lt7182s.h:261
Device driver structure.
Definition: ad7606.c:268
int max14919_set_out(struct max14919_desc *desc, enum max14919_out_state *state)
Set the OUT channels state.
Definition: max14919.c:43
int ltc4162l_remove(struct ltc4162l_desc *dev)
Free the resources allocated by ltc4162l_init()
Definition: ltc4162l.c:288
@ LT7170_TEMP
Definition: lt7170.h:238
@ ID_ADXL314
Definition: adxl313.h:247
int ltm4686_remove(struct ltm4686_dev *dev)
Free or remove device instance.
Definition: ltm4686.c:592