Go to the documentation of this file.
33 #ifndef __COMMON_DATA_H__
34 #define __COMMON_DATA_H__
39 #include "parameters.h"
81 #define VIN_LOW_LIMIT (195000l)
82 #define VIN_HIGH_LIMIT (264000l)
85 #define VIN_LOW_LIMIT_2 (102000l)
86 #define VIN_HIGH_LIMIT_2 (138000l)
91 #define VR_OPEN_LOW_LIMIT (2000l)
93 #define VR_OPEN_LOW_LIMIT (50000l)
95 #define VR_OPEN_HIGH_LIMIT (264000l)
98 #define V2_CLOSED_LIMIT (2000l)
101 #define TEMPERATURE_LIMIT_1 (45000l)
102 #define TEMPERATURE_LIMIT_2 (50000l)
103 #define MILLIDEGREE_PER_DEGREE (1000UL)
107 #define RELAY_CTRL_PORT (0)
108 #define RELAY_CTRL_PIN (10)
110 #define RELAY_CTRL_PORT (1)
111 #define RELAY_CTRL_PIN (4)
Definition: ade7816.h:298
const struct no_os_irq_init_param ad74413r_nvic_ip
Definition: common_data.c:278
const char * name
Definition: clk_axi_clkgen.h:51
#define ADIS_SYNC_DEFAULT
Definition: adis.h:61
uint8_t offload_config
Definition: spi_engine.h:151
Driver for the Analog Devices AXI-ADC-CORE module.
@ NO_OS_SPI_MODE_1
Definition: no_os_spi.h:63
@ NO_OS_PULL_DOWN
Definition: no_os_gpio.h:70
@ ADIS16577_3
Definition: adis.h:108
@ ID_AD4696
Definition: ad469x.h:203
enum pulsar_adc_supported_dev_ids dev_id
Definition: pulsar_adc.h:133
struct dac_demo_init_param dac_init_par
Definition: common_data.c:68
enum max538x_type active_device
Definition: max538x.h:88
const struct adis_chip_info adis1654x_chip_info
Definition: adis1654x.c:679
const struct no_os_gpio_init_param adin1110_mssel_ip
Definition: common_data.c:181
struct no_os_spi_init_param ad9545_spi_ip
Definition: common_data.c:59
struct no_os_spi_init_param * comm_param
Definition: max22200.h:143
@ ID_AD4697
Definition: ad469x.h:204
@ ADIS16465_1
Definition: adis.h:75
int32_t voltage_h_rms_reg_val
Definition: ade9153a.h:777
@ ID_AD7606C_18
Definition: ad7606.h:143
struct no_os_spi_init_param adis1654x_spi_ip
Definition: common_data.c:57
struct max_uart_init_param max_uart_extra_ip
Definition: common_data.c:43
Structure holding the parameters for ADXL355 device initialization.
Definition: adxl355.h:226
struct no_os_uart_init_param ad738x_uart_ip
Definition: common_data.c:48
MAX31827 init param.
Definition: max31827.h:130
#define ENERGY_CC
Definition: common_data.h:124
const struct no_os_i2c_init_param i2c_param
Definition: common_data.c:52
#define GPIO_SS_PORT
Definition: common_data.h:80
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
enum adxl38x_comm_type comm_type
Definition: adxl38x.h:358
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
@ AD7606_8_DOUT
Definition: ad7606.h:202
Defines common data to be used by eval-adxl38x examples.
int32_t apparent_energy_reg_val
Definition: ade9153a.h:741
struct no_os_spi_init_param * spi_init
Definition: ltc4296.h:229
struct no_os_gpio_init_param ade9113_gpio_led3_ip
Definition: common_data.c:136
#define IIO_BUFF_TYPE
Definition: common_data.h:60
struct no_os_gpio_init_param * in_param[MAX14919_OUT_CHANNELS]
Definition: max14919.h:60
const struct no_os_i2c_platform_ops max_i2c_ops
MAXIM platform specific I2C platform ops structure.
Definition: maxim_i2c.c:322
struct no_os_gpio_init_param max14914_pp_ip
Definition: common_data.c:77
uint32_t aicert_reg_val
Definition: ade9153a.h:814
struct ade9113_init_param ade9113_ip
Definition: common_data.c:180
struct axi_dmac_init dmac_ip
Definition: common_data.c:67
#define SAMPLES
Definition: supply.h:49
struct ad7091r8_init_param ad7091r8_ip
Definition: common_data.c:64
struct no_os_spi_init_param ad738x_spi_init_param
Definition: common_data.c:60
int ade9153a_power_quality_vals(struct ade9153a_dev *dev, struct ade9153a_pq_values *data)
Read power quaility values.
Definition: ade9153a.c:4242
struct adc_demo_init_param adc_init_par
Definition: common_data.c:58
const struct no_os_gpio_init_param tx_perf_gpio_ip
Definition: common_data.c:85
int32_t fundamental_reactive_energy_reg_val
Definition: ade9153a.h:739
const struct no_os_gpio_init_param adin1110_tx2p4_ip
Definition: common_data.c:173
@ AD7606_SW_RANGE_SINGLE_ENDED_BIPOLAR
Definition: ad7606.h:212
int32_t v2_rms_adc
Definition: state_machine.h:237
struct no_os_uart_init_param ade7816_uart_ip
Definition: common_data.c:35
#define LTC2983_CUST_SENS_TBL_START_REG
Definition: ltc2983.h:58
struct max_gpio_init_param ade9153a_gpio_extra_ip
Definition: common_data.c:57
struct no_os_spi_init_param adxrs290_spi_ip
Definition: common_data.c:54
int rms_adc_values_read(struct ade7913_dev *dev, struct rms_adc_values *rms)
Saves the current and voltage values of device 1 in rms_adc structure.
Definition: common_data.c:75
struct no_os_spi_init_param * spi_init
Definition: ad463x.h:195
@ AD469x_INx_COM
Definition: ad469x.h:225
int64_t rms_filter_i_2(int32_t sample)
Compute i_2 rms value for device 2.
Definition: common_data.c:255
struct lt8491_init_param lt8491_ip
Definition: common_data.c:55
struct axi_adc_init * ad796x_core_ip
Definition: ad796x.h:72
struct no_os_i2c_init_param i2c_init_param
Definition: max31827.h:132
const struct no_os_gpio_init_param adin1110_swpd_ip
Definition: common_data.c:165
enum adxrs290_mode mode
Definition: adxrs290.h:163
#define LT7170_PMBUS_ADDRESS
Definition: common_data.h:46
@ AD719X_MODE_SINGLE
Definition: ad719x.h:166
struct no_os_gpio_init_param gpio_reset_param
Definition: common_data.c:79
@ ADXL313_SPI_COMM
Definition: adxl313.h:255
Defines common data to be used by pulsar-adc examples.
struct no_os_spi_init_param spi_init
Definition: ad7606.h:311
struct no_os_gpio_init_param gpio_wifi_rst_ip
Definition: common_data.c:68
Defines common data to be used by eval-adxrs290-pmdz examples.
struct no_os_gpio_init_param gpio_reset_ip
Definition: common_data.c:99
Defines common data to be used by the swiot1l project.
struct no_os_gpio_init_param max14914_di_en_ip
Definition: common_data.c:61
Definition: max11205.h:73
@ GPIO_PS
Definition: xilinx_gpio.h:56
struct no_os_uart_init_param max22196_uart_ip
Definition: common_data.c:35
const struct no_os_gpio_init_param adin1110_int_ip
Definition: common_data.c:69
const struct xil_spi_init_param spi_extra
Definition: ad5758_sdz.c:53
const struct no_os_gpio_init_param max14906_d2_ip
Definition: common_data.c:133
struct no_os_gpio_init_param gpio_ip
Definition: common_data.c:46
Defines common data to be used by eval-ltc4306-pmdz examples.
Defines common data to be used by max11205pmb1 examples.
Definition: axi_dmac.h:127
struct no_os_gpio_init_param ade9113_gpio_led1_ip
Definition: common_data.c:96
@ NO_OS_IRQ_LEVEL_HIGH
Definition: no_os_irq.h:78
Header file for the ad7606 Driver.
struct max11205_init_param max11205_ip
Definition: common_data.c:78
const char * name
Definition: axi_dmac.h:128
Structure describing a callback to be registered.
Definition: no_os_irq.h:142
@ AXI_DAC_BUS_TYPE_QSPI
Definition: axi_dac_core.h:46
int32_t angle_ai_av_reg_val
Definition: ade9153a.h:790
struct no_os_gpio_init_param ad463x_resetn
Definition: common_data.c:100
struct no_os_i2c_init_param ltp8800_i2c_ip
Definition: common_data.c:47
struct no_os_uart_init_param uip
Definition: common_data.c:42
Defines common data to be used by max22017 examples.
#define ADP1050_PMBUS_10KOHM_ADDRESS
Definition: adp1050.h:162
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
@ ADIS16550
Definition: adis.h:102
ADIS device initialization parameters.
Definition: adis.h:306
Header file of SPI Interface.
uint16_t id
Definition: no_os_timer.h:85
const struct no_os_platform_spi_delays ad74413r_spi_delays
Definition: common_data.c:228
uint32_t avcert_reg_val
Definition: ade9153a.h:818
struct no_os_spi_init_param * comm_param
Definition: max22190.h:83
uint32_t ext_buff_len
Definition: adc_demo.h:84
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
struct no_os_gpio_init_param adis1654x_gpio_reset_ip
Definition: common_data.c:68
struct no_os_uart_init_param max22200_uart_ip
Definition: common_data.c:35
uint8_t out_buff[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:79
int64_t rms_filter_v2_2(int32_t sample)
Compute v2_2 rms value for device 2.
Definition: common_data.c:238
@ MAX22200_INDEPENDENT_MODE
Definition: max22200.h:103
Structure holding the parameters for ADXL313 device initialization.
Definition: adxl313.h:397
Defines common data to be used by eval-adis1647x examples.
struct no_os_spi_init_param max22196_spi_ip
Definition: common_data.c:45
Definition: maxim_i2c.h:58
struct no_os_gpio_init_param ade9113_gpio_led1_ip
Definition: common_data.c:96
struct no_os_gpio_init_param max14919_in_rush_ip
Definition: common_data.c:84
AXI ADC Initialization Parameters structure.
Definition: axi_adc_core.h:143
Defines common data to be used by eval-adis1657x examples.
int64_t rms_filter_v2(int32_t sample)
Compute v2 rms value for device 1.
Definition: common_data.c:187
struct no_os_gpio_init_param gpio_adc_en1_fmc_ip
Definition: common_data.c:126
const struct no_os_spi_init_param ad9528_spi_param
Definition: common_data.c:45
Defines common data to be used by ad74413r examples.
Driver for the Analog Devices AXI CLKGEN.
struct no_os_gpio_init_param * gpio_reset_param
Definition: ad7616.h:217
ADE9153A power registers values.
Definition: ade9153a.h:748
const struct no_os_gpio_init_param max14906_en_ip
Definition: common_data.c:117
int32_t no_os_gpio_get_value(struct no_os_gpio_desc *desc, uint8_t *value)
Get the value of the specified GPIO.
Definition: no_os_gpio.c:221
#define pr_err(fmt, args...)
Definition: no_os_print_log.h:88
#define ADE9153A_REG_AVGAIN
Definition: ade9153a.h:102
struct adis_init_param adis1647x_ip
Definition: common_data.c:76
#define SPI_AD7606X_CS
Definition: parameters.h:58
Defines common data to be used by eval-adis1646x examples.
@ ID_AD74416H
Definition: ad74416h.h:432
struct no_os_gpio_init_param max14914_fault_ip
Definition: common_data.c:45
int iio_trig_disable(void *trig)
Disable system interrupt which is linked to the given trigger.
Definition: iio_trigger.c:127
struct no_os_uart_init_param ltc4296_uart_ip
Definition: common_data.c:35
int ade9153a_half_rms_vals(struct ade9153a_dev *dev, struct ade9153a_half_rms_values *data)
Read half rms values.
Definition: ade9153a.c:4209
struct no_os_i2c_init_param i2c_init_param
Definition: lt8491.h:104
@ ID_ADT7420
Definition: adt7420.h:131
#define AD738X_FLAG_OFFLOAD
Definition: ad738x.h:107
struct no_os_uart_init_param max14914_uart_ip
Definition: common_data.c:35
struct ltc2983_thermistor ltc2983_thermistor_8
Definition: common_data.c:116
struct no_os_gpio_init_param ade9113_gpio_rdy_ip
Definition: common_data.c:64
struct no_os_gpio_init_param gpio_ss_ip
Definition: common_data.c:81
@ LTC2983_THERMISTOR_44008_44032
Definition: ltc2983.h:193
@ SPI_SS_POL_LOW
Definition: maxim_spi.h:49
struct pqm_init_para pqm_ip
Definition: common_data.c:58
uint32_t period_ns
Definition: no_os_pwm.h:70
const struct no_os_i2c_init_param max31827_i2c_ip
Definition: common_data.c:47
const char * name
Definition: iio_trigger.h:120
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
struct no_os_spi_init_param * spi
Definition: lt8722.h:363
struct no_os_uart_init_param adxrs290_uart_ip
Definition: common_data.c:42
Definition: clk_axi_clkgen.h:50
struct no_os_gpio_init_param ad7616_gpio_reset_ip
Definition: common_data.c:75
Defines common data to be used by eval-ad7616 examples.
Defines common data to be used by adt7420-pmdz examples.
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
const struct no_os_gpio_init_param max14906_d4_ip
Definition: common_data.c:149
#define SPI_MAX_HZ
Definition: common_data.h:53
struct no_os_gpio_init_param reset_gpio_ip
Definition: common_data.c:133
Defines common data to be used by ad74413r examples.
struct max25603_init_param max25603_ip
Definition: common_data.c:90
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
struct no_os_uart_init_param max11205_uart_ip
Definition: common_data.c:42
struct no_os_gpio_init_param ad469x_resetn
Definition: common_data.c:89
struct no_os_gpio_init_param max11205_gpio_rdy_ip
Definition: common_data.c:64
Initialization parameter for the device descriptor.
Definition: adin1110.h:211
Common data used by the MAX25603 project.
Definition: pulsar_adc.h:119
struct no_os_i2c_init_param lt7170_i2c_ip
Definition: common_data.c:53
const struct adis_chip_info adis1646x_chip_info
Definition: adis1646x.c:240
#define RMS_VOLTAGE_CC
Definition: common_data.h:130
struct no_os_i2c_init_param * i2c_param
Definition: adp1050.h:546
Defines common data to be used by max22190 examples.
#define TOTAL_PQM_CHANNELS
Definition: common_data.h:66
ADE9113 Device initialization parameters.
Definition: ade9113.h:328
#define DEMO_CHANNELS
Definition: common_data.h:53
@ ID_ADAQ4224
Definition: ad463x.h:171
@ NO_OS_SPI_MODE_2
Definition: no_os_spi.h:65
#define GPIO_IRQ_ID
Definition: parameters.h:45
struct no_os_gpio_init_param ade9113_gpio_rcddc_ip
Definition: common_data.c:128
@ ADXRS290_LPF_480HZ
Definition: adxrs290.h:125
int32_t * v2_wav_m
Definition: ade7913.h:186
int ade9153a_temp_val(struct ade9153a_dev *dev, struct ade9153a_temperature_value *data)
Temperature value in deg C.
Definition: ade9153a.c:4025
struct no_os_spi_init_param ade9113_spi_ip
Definition: common_data.c:54
struct max22017_init_param max22017_ip
Definition: common_data.c:63
#define GPIO_ADC_OS1
Definition: parameters.h:62
enum adxl355_comm_type comm_type
Definition: adxl355.h:230
struct max538x_init_param max538x_user_init
Definition: common_data.c:63
struct no_os_gpio_init_param adis1650x_gpio_reset_ip
Definition: common_data.c:68
struct adxrs290_init_param adxrs290_ip
Definition: common_data.c:73
struct no_os_gpio_init_param lt8722_en_ip
Definition: common_data.c:63
#define AD7606X_REF_CLK_HZ
Definition: common_data.c:54
@ ADXRS290_MODE_MEASUREMENT
Definition: adxrs290.h:104
@ NO_OS_GPIO_HIGH
Definition: no_os_gpio.h:117
int ade9153a_read_autocal_vals(struct ade9153a_dev *dev, struct ade9153a_autocal_vals *data)
Read autocalibration values.
Definition: ade9153a.c:4377
int32_t number
Definition: no_os_gpio.h:83
struct no_os_spi_init_param max22190_spi_ip
Definition: common_data.c:45
Defines common data to be used by eval-adis1655x examples.
struct adis_init_param adis1646x_ip
Definition: common_data.c:76
#define RMS_CURENT_CC
Definition: common_data.h:128
struct adxl367_init_param init_param
Definition: common_data.c:52
@ AD469x_advanced_seq
Definition: ad469x.h:174
uint32_t device_id
Definition: xilinx_gpio.h:68
enum ad74416h_dev_id id
Definition: ad74416h.h:622
uint32_t id
Definition: no_os_pwm.h:68
Defines common data to be used by lt7182s examples.
Defines common data to be used by max14906 examples.
const struct no_os_clk_platform_ops refb_clk_ops
Definition: common_data.c:101
struct no_os_callback_desc afe0_callback_desc
Definition: common_data.c:157
int ade9153a_write(struct ade9153a_dev *dev, uint16_t reg_addr, uint32_t reg_data)
Write device register.
Definition: ade9153a.c:445
Driver for the Analog Devices AXI-DAC-CORE module.
int ade9153a_power_vals(struct ade9153a_dev *dev, struct ade9153a_power_values *data)
Read power values.
Definition: ade9153a.c:4137
struct no_os_uart_init_param ade9113_uart_ip
Definition: common_data.c:42
#define MULT_CC_50HZ
Definition: common_data.h:136
int interface_toggle_led(struct no_os_gpio_desc *gpio_led_desc)
Toggle Led.
Definition: common_data.c:49
struct no_os_spi_init_param sip
Definition: common_data.c:54
struct no_os_spi_init_param ade9113_spi_ip
Definition: common_data.c:54
ADE7913 Device structure.
Definition: ade7913.h:164
@ ID_ADF4382A
Definition: adf4382.h:480
ADF4382 Initialization Parameters structure.
Definition: adf4382.h:487
Defines common data to be used by eval-ad5460 examples.
@ NO_OS_IRQ_EDGE_FALLING
Definition: no_os_irq.h:79
enum ad469x_supported_dev_ids dev_id
Definition: ad469x.h:280
Defines common data to be used by max14919 example.
int64_t rms_filter_v2_3(int32_t sample)
Compute v2_3 rms value for device 3.
Definition: common_data.c:289
Initialization Structure.
Definition: ltc4296.h:228
struct no_os_uart_init_param max14906_uart_ip
Definition: common_data.c:35
@ SWIOT_CONFIG
Definition: swiot.h:67
struct ad9545_init_param ad9545_ip
Definition: common_data.c:76
struct no_os_gpio_init_param adis1657x_gpio_reset_ip
Definition: common_data.c:68
sense resistor descriptor for LTC2983
Definition: ltc2983.h:374
int32_t fundamental_reactive_power_reg_val
Definition: ade9153a.h:752
struct no_os_gpio_init_param max25603_shunt_ip
Definition: common_data.c:46
Definition: ad7091r8.h:182
@ ADXRS290_HPF_ALL_PASS
Definition: adxrs290.h:140
@ NO_OS_PULL_NONE
Definition: no_os_gpio.h:66
const struct no_os_spi_init_param spi_ip
Definition: common_data.c:42
ADE9153A power quality registers values.
Definition: ade9153a.h:784
Structure holding the parameters for ADXL367 device initialization.
Definition: adxl367.h:451
enum ad3552r_id chip_id
Definition: ad3552r.h:434
struct no_os_uart_init_param lt7182s_uart_ip
Definition: common_data.c:35
struct no_os_uart_init_param lt7170_uart_ip
Definition: common_data.c:41
struct no_os_gpio_init_param ade9113_gpio_led4_ip
Definition: common_data.c:144
const struct no_os_gpio_platform_ops * platform_ops
Definition: no_os_gpio.h:87
int32_t apparent_power_reg_val
Definition: ade9153a.h:754
#define PF_CC
Definition: common_data.h:132
Defines common data to be used by adf4382 examples.
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
@ ID_LTC2983
Definition: ltc2983.h:152
const struct no_os_gpio_init_param swiot_led2_ip
Definition: common_data.c:213
@ ID_AD4698
Definition: ad469x.h:205
struct no_os_gpio_init_param gpio_led1_ip
Definition: common_data.c:72
const struct no_os_pwm_platform_ops axi_pwm_ops
AXI platform specific PWM platform ops structure.
Definition: axi_pwm.c:406
const struct no_os_gpio_init_param max14906_d3_ip
Definition: common_data.c:141
@ AD796X_MODE1_EXT_REF_5P0
Definition: ad796x.h:50
Definition: ltc4306.h:127
@ NO_OS_GPIO_LOW
Definition: no_os_gpio.h:115
uint32_t device_id
Definition: no_os_spi.h:142
struct no_os_spi_init_param * spi_param
Definition: ade7816.h:299
struct adis_init_param adis1654x_ip
Definition: common_data.c:76
@ AD719X_ADC_GAIN_64
Definition: ad719x.h:147
Defines common data to be used by lt8722 examples.
#define AD463X_SHARED_TWO_CH
Definition: ad463x.h:118
#define GPIO_ADC_SER_PAR
Definition: parameters.h:68
struct no_os_gpio_init_param * di_en_init_param
Definition: max14914.h:67
struct no_os_uart_init_param adis1647x_uart_ip
Definition: common_data.c:45
const struct no_os_spi_init_param max31855_spi_ip
Definition: common_data.c:48
struct no_os_spi_init_param adin1110_spi_ip
Definition: common_data.c:46
Header file of Clock Driver.
@ ADE7816_SPI
Definition: ade7816.h:218
Defines common data to be used by iio examples.
struct axi_pwm_init_param axi_pwm_0_extra
Definition: common_data.c:81
Defines common data to be used by ltc4296 examples.
#define RX_DMA_BASEADDR
Definition: parameters.h:64
struct max149x6_init_param max14906_ip
Definition: common_data.c:272
#define AD9528_CS
Definition: parameters.h:160
enum max_uart_flow_ctrl flow
Definition: maxim_uart.h:56
Initialization parameter for the LT8722 device.
Definition: lt8722.h:362
uint8_t chip_select
Definition: no_os_spi.h:146
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
IIO_BUFF_TYPE iio_data_buffer_loc[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:56
struct adp1050_init_param adp1050_ip
Definition: common_data.c:61
struct no_os_pwm_init_param max25603_en1_ip
Definition: common_data.c:54
#define GPIO_SS_PIN
Definition: common_data.h:81
const struct no_os_gpio_init_param swiot_led1_ip
Definition: common_data.c:205
Defines common data to be used by the STOUT project.
#define GPIO_ADC_RANGE
Definition: parameters.h:64
Definition: ltc3337.h:110
@ ADIN1110
Definition: adin1110.h:192
struct no_os_gpio_init_param default_gpio_param
Definition: common_data.c:85
struct no_os_pwm_init_param max25603_lb_ip
Definition: common_data.c:81
#define GPIO_RESET_PIN
Definition: common_data.h:86
struct no_os_uart_init_param ad74416h_uart_ip
Definition: common_data.c:42
int ade9153a_start_autocal_ai(struct ade9153a_dev *dev, enum ade9153a_acalmode_e mode)
Start autocalibration AI channel.
Definition: ade9153a.c:4281
Defines common data to be used by ADE9153A example project.
const struct no_os_gpio_init_param miso_ip
Definition: common_data.c:52
struct no_os_spi_init_param max22200_spi_ip
Definition: common_data.c:45
struct ltc2983_rtd ltc2983_rtd_6
Definition: common_data.c:164
#define REFM1_CLK_FREQUENCY
Definition: common_data.h:53
struct no_os_gpio_init_param adxrs290_gpio_sync_ip
Definition: common_data.c:65
int32_t * i_wav_m
Definition: ade7913.h:182
ADE9153A energy registers values.
Definition: ade9153a.h:735
Definition: max25603.h:63
uint32_t loopback_buffer_len
Definition: dac_demo.h:83
#define AD463X_ONE_LANE_PER_CH
Definition: ad463x.h:115
struct no_os_pwm_init_param trigger_pwm_init_param
Definition: common_data.c:70
struct no_os_gpio_init_param ade9113_gpio_ZX_ip
Definition: common_data.c:104
Defines common data to be used by all examples.
uint8_t dev_addr
Definition: ad5460.h:326
Defines common data to be used by iio_demo examples.
#define REFBB_CLK_FREQUENCY
Definition: common_data.h:52
const struct no_os_gpio_init_param adin1110_rst_gpio_ip
Definition: common_data.c:77
@ AD7616_OSR_0
Definition: ad7616.h:160
const struct no_os_gpio_init_param max14906_d1_ip
Definition: common_data.c:125
int autocalibration_start(struct ade9153a_dev *dev)
Autocalibration start.
Definition: common_data.c:364
int ade9153a_energy_vals(struct ade9153a_dev *dev, struct ade9153a_energy_values *data)
Read energy values.
Definition: ade9153a.c:4098
Initialization parameter for the device descriptor.
Definition: max42500.h:161
struct no_os_gpio_init_param max14914_in_ip
Definition: common_data.c:69
@ LTC2983_RSENSE
Definition: ltc2983.h:199
struct no_os_uart_init_param ad74413r_uart_ip
Definition: common_data.c:42
#define GPIO_SCK_PIN
Definition: common_data.h:83
uint32_t aicc_reg_val
Definition: ade9153a.h:812
@ LTC2983_RTD_PT_100
Definition: ltc2983.h:182
struct ad7606_init_param ad7606x_init_param_parallel
Definition: common_data.c:146
Maxim specific SPI initialization parameters.
Definition: maxim_spi.h:53
@ LT7182S_FAULT_PIN_OUTPUT
Definition: lt7182s.h:239
struct no_os_gpio_init_param gpio_ldac_param
Definition: common_data.c:73
struct ad7616_init_param ad7616_ip
Definition: common_data.c:90
struct no_os_spi_init_param adis1650x_spi_ip
Definition: common_data.c:57
struct no_os_spi_init_param ad74416h_spi_ip
Definition: common_data.c:54
#define LTC3337_I2C_ADDR
Definition: ltc3337.h:40
struct no_os_uart_init_param max25603_uart_ip
Definition: common_data.c:36
@ ID_ADXL380
Definition: adxl38x.h:237
int32_t v2_rms
Definition: state_machine.h:231
const struct no_os_gpio_init_param clkchip_gpio_init_param
Definition: common_data.c:55
struct ltc2983_sensor sensor
Definition: ltc2983.h:308
#define REFB_CLK_FREQUENCY
Definition: common_data.h:51
@ IRQ_DISABLED
Definition: axi_dmac.h:79
AXI driver(s) initialization parameters.
Definition: ad7606.h:288
@ NO_OS_EVT_TIM_ELAPSED
Definition: no_os_irq.h:68
struct no_os_gpio_init_param ade9113_gpio_rcm_test_ip
Definition: common_data.c:112
struct adxl313_init_param adxl313_user_init
Definition: common_data.c:64
struct no_os_uart_init_param adxl38x_uart_ip
Definition: common_data.c:42
struct axi_clkgen_init clkgen_ip
Definition: common_data.c:61
struct max22190_init_param max22190_ip
Definition: common_data.c:53
int32_t * v1_wav_m
Definition: ade7913.h:184
Defines common data to be used by eval-ad74416h examples.
struct lt7182s_init_param lt7182s_ip
Definition: common_data.c:55
ADE9153A temperature value.
Definition: ade9153a.h:810
#define GPIO_ADC_OS0
Definition: parameters.h:61
struct no_os_uart_init_param adis1646x_uart_ip
Definition: common_data.c:45
struct no_os_spi_init_param adf4382_spi_ip
Definition: common_data.c:48
#define GPIO_ADC_RESET
Definition: parameters.h:66
int ade9153a_freq_s_status(struct ade9153a_dev *dev, uint8_t *status)
Frequency setting.
Definition: ade9153a.c:3148
const char * name
Definition: axi_dac_core.h:70
struct no_os_gpio_init_param ade9113_gpio_led4_ip
Definition: common_data.c:144
struct no_os_gpio_init_param ade9113_gpio_led3_ip
Definition: common_data.c:136
const struct no_os_irq_platform_ops max_irq_ops
maxim specific IRQ platform ops structure
Definition: maxim_irq.c:657
Defines common data to be used by lt7170 examples.
struct no_os_gpio_init_param max22196_crc_ip
Definition: common_data.c:53
struct no_os_irq_init_param irq_ip
Definition: common_data.c:54
const struct no_os_gpio_init_param psu_gpio_ip
Definition: common_data.c:264
Device driver initialization parameters.
Definition: ad7606.h:309
int iio_trig_enable(void *trig)
Enable system interrupt which is linked to the given trigger.
Definition: iio_trigger.c:110
@ ID_ADXL313
Definition: adxl313.h:246
struct xil_gpio_init_param xil_gpio_param
Definition: parameters.c:46
uint32_t dev_global_attr
Definition: dac_demo.h:79
struct ade9113_init_param ade9113_ip
Definition: common_data.c:180
struct no_os_spi_init_param lt8722_spi_ip
Definition: common_data.c:45
Header file for init parameters.
int32_t power_factor_reg_val
Definition: ade9153a.h:786
struct no_os_spi_init_param pulsar_adc_spi_init
Definition: common_data.c:58
@ LT7170_FAULT_PIN_OUTPUT
Definition: lt7170.h:223
const struct no_os_spi_init_param pmod_spi_ip
Definition: common_data.c:254
Structure holding the MAX14914 initialization parameter.
Definition: max14914.h:64
@ ID_AD4695
Definition: ad469x.h:202
const struct no_os_gpio_init_param sync_ip
Definition: common_data.c:58
const struct no_os_clk_platform_ops refm1_clk_ops
Definition: common_data.c:109
@ AD469x_single_cycle
Definition: ad469x.h:168
Definition: state_machine.h:224
const struct no_os_gpio_init_param adin1110_cfg1_ip
Definition: common_data.c:197
@ AD3552R_CH_OUTPUT_RANGE_NEG_10__10V
Definition: ad3552r.h:217
ADE9153A rms registers values.
Definition: ade9153a.h:761
Driver for the Analog Devices AXI-DMAC core.
struct max42500_init_param max42500_ip
Definition: common_data.c:55
enum adxl313_type dev_type
Definition: adxl313.h:403
#define AD463X_24_DIFF
Definition: ad463x.h:97
uint32_t irq_ctrl_id
Definition: no_os_irq.h:109
const struct no_os_gpio_init_param ad74413r_irq_ip
Definition: common_data.c:109
Defines common data to be used by adp1050 examples.
int64_t rms_filter_i(int32_t sample)
Compute i rms value for device 1.
Definition: common_data.c:204
struct no_os_uart_init_param adxl355_uart_ip
Definition: common_data.c:42
struct no_os_uart_init_param ltc2672_uart_ip
Definition: common_data.c:42
@ AD7190
Definition: ad719x.h:182
struct no_os_gpio_init_param * gpio_rdy
Definition: max11205.h:77
struct no_os_gpio_init_param lt8722_swen_ip
Definition: common_data.c:55
Structure holding the MAX22017 initialization parameter.
Definition: max22017.h:187
Defines common data to be used by demo_esp examples.
struct adt7420_init_param adt7420_user_init
Definition: common_data.c:63
struct no_os_gpio_init_param * gpio_cnv
Definition: pulsar_adc.h:129
Header file of ADE9113 Driver.
@ NO_OS_TIM_IRQ
Definition: no_os_irq.h:88
struct ltc2983_sensor sensor
Definition: ltc2983.h:326
Header file for ad9545 Driver.
int64_t rms_filter_v1(int32_t sample)
Compute v1 rms value for device 1.
Definition: common_data.c:170
uint32_t dev_ch_attr[MAX_DAC_ADDR]
Definition: dac_demo.h:81
@ NO_OS_UART_STOP_2_BIT
Definition: no_os_uart.h:96
Structure holding CLK descriptor.
Definition: no_os_clk.h:75
Defines common data to be used by iio examples.
int ade9153a_stop(struct ade9153a_dev *dev)
Stop measurements.
Definition: ade9153a.c:3748
const struct no_os_clk_platform_ops refbb_clk_ops
Definition: common_data.c:105
#define INITIAL
Definition: supply.h:48
struct no_os_uart_init_param ad463x_uart_ip
Definition: common_data.c:48
struct no_os_spi_init_param max11205_spi_ip
Definition: common_data.c:54
struct no_os_pwm_init_param max25603_hb_ip
Definition: common_data.c:72
@ LTC2983_RTD_PT_1000
Definition: ltc2983.h:185
struct no_os_spi_init_param adxl38x_spi_ip
Definition: common_data.c:54
const struct no_os_i2c_init_param iip
Definition: common_data.c:54
struct max14914_init_param max14914_ip
Definition: common_data.c:85
const struct adis_chip_info adis1650x_chip_info
Definition: adis1650x.c:228
#define ADT75_ADDR(x)
Definition: adt75.h:40
int64_t supply_scale_v(int32_t val)
Scale V value.
Definition: common_data.c:323
@ INT_REF
Definition: ad738x.h:146
const struct no_os_irq_platform_ops * platform_ops
Definition: no_os_irq.h:111
Definition: axi_dac_core.h:68
struct no_os_gpio_init_param max22017_rstb_ip
Definition: common_data.c:55
struct max31827_init_param max31827_ip
Definition: common_data.c:55
@ AD74413R
Definition: ad74413r.h:175
thermistor sensor descriptor for LTC2983
Definition: ltc2983.h:324
struct no_os_uart_init_param iio_demo_uart_ip
Definition: common_data.c:44
struct max_spi_init_param ade9153a_spi_extra_ip
Definition: common_data.c:51
#define GPIO_ADC_OS2
Definition: parameters.h:63
struct no_os_gpio_init_param gpio_sck_ip
Definition: common_data.c:90
Header file for ad469x Driver.
Device driver initialization structure.
Definition: adxrs290.h:157
uint32_t avcc_reg_val
Definition: ade9153a.h:816
struct no_os_uart_init_param adin1110_uart_ip
Definition: common_data.c:36
struct no_os_i2c_init_param ad9545_i2c_ip
Definition: common_data.c:68
struct no_os_gpio_init_param gpio_adc_en2_fmc_ip
Definition: common_data.c:120
const struct no_os_spi_platform_ops max_spi_ops
maxim platform specific SPI platform ops structure
Definition: maxim_spi.c:795
#define LT7182S_PMBUS_ADDRESS
Definition: common_data.h:40
struct spi_engine_offload_init_param spi_engine_offload_init_param
Definition: common_data.c:75
struct no_os_uart_init_param adis1654x_uart_ip
Definition: common_data.c:45
const struct no_os_gpio_init_param ltc2983_gpio_rstn
Definition: common_data.c:58
MAX31855 comm init param.
Definition: max31855.h:68
struct no_os_gpio_init_param adis1655x_gpio_reset_ip
Definition: common_data.c:68
struct adis_init_param adis1655x_ip
Definition: common_data.c:76
struct max149x6_init_param max14916_ip
Definition: common_data.c:53
struct no_os_uart_init_param max22017_uart_ip
Definition: common_data.c:35
const struct no_os_i2c_init_param adt75_comm_param
Definition: common_data.c:57
struct no_os_uart_init_param uart_ip_stdio
Definition: common_data.c:112
struct no_os_gpio_init_param max14906_fault_gpio_param
#define V_DIVIDER
Definition: common_data.h:77
struct no_os_spi_init_param ltc4296_spi_ip
Definition: common_data.c:45
struct no_os_spi_init_param spi_init
Definition: common_data.c:120
Aditional UART config parameters.
Definition: maxim_uart.h:55
struct ltc3337_init_param ltc3337_ip
Definition: common_data.c:56
@ UART_FLOW_DIS
Definition: maxim_uart.h:47
struct no_os_gpio_init_param ade9153a_gpio_rdy_ip
Definition: common_data.c:108
struct no_os_spi_init_param adxl355_spi_ip
Definition: common_data.c:74
struct no_os_i2c_init_param comm_param
Definition: adt75.h:73
const struct no_os_gpio_platform_ops max_gpio_ops
maxim platform specific GPIO platform ops structure
Definition: maxim_gpio.c:320
Structure holding the parameters for ltc2672 initialization.
Definition: ltc2672.h:196
int ade9153a_start_autocal_av(struct ade9153a_dev *dev, enum ade9153a_acalmode_e mode)
Start autocalibration AV channel.
Definition: ade9153a.c:4345
struct no_os_spi_init_param adis1655x_spi_ip
Definition: common_data.c:57
Structure holding the GPIO descriptor.
Definition: no_os_gpio.h:96
struct no_os_gpio_init_param intr_gpio_ip
Definition: common_data.c:141
#define ADIS_SYNC_OUTPUT
Definition: adis.h:64
Definition: ad74416h.h:621
struct no_os_pwm_init_param trigger_pwm_init
Definition: common_data.c:88
Definition: max22200.h:142
int ade9153a_rms_vals(struct ade9153a_dev *dev, struct ade9153a_rms_values *data)
Read rms values.
Definition: ade9153a.c:4176
const struct no_os_i2c_init_param lt8491_i2c_ip
Definition: common_data.c:47
struct no_os_i2c_init_param i2c_ip
Definition: common_data.c:104
struct no_os_i2c_init_param comm_param
Definition: max42500.h:163
struct max22200_init_param max22200_ip
Definition: common_data.c:61
@ NO_OS_PWM_POLARITY_HIGH
Definition: no_os_pwm.h:57
struct no_os_gpio_init_param max14914_doilvl_ip
Definition: common_data.c:53
struct no_os_irq_init_param ade9153a_gpio_irq_ip
Definition: common_data.c:126
Defines common data to be used by ADE7913 example project.
struct no_os_uart_init_param adis1655x_uart_ip
Definition: common_data.c:45
int64_t rms_filter_i_3(int32_t sample)
Compute i_3 rms value for device 3.
Definition: common_data.c:306
struct no_os_spi_init_param adis1657x_spi_ip
Definition: common_data.c:57
mxc_gpio_vssel_t vssel
Definition: maxim_gpio.h:57
struct no_os_spi_init_param max14906_spi_ip
Definition: common_data.c:47
struct no_os_gpio_init_param ade9113_gpio_ZX_ip
Definition: common_data.c:104
Definition: ad3552r.h:433
const struct no_os_uart_platform_ops max_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_uart.c:475
struct no_os_gpio_init_param ad7616_gpio_convst_ip
Definition: common_data.c:83
int read_measurements(struct ade9153a_dev *dev)
Read measurements.
Definition: common_data.c:163
@ AD7091R4
Definition: ad7091r8.h:88
ADE9153A temperature value.
Definition: ade9153a.h:797
struct no_os_uart_init_param uart_ip
Definition: common_data.c:52
GPIO platform specific init parameters.
Definition: maxim_gpio.h:55
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
@ NORMAL
Definition: ade9153a.h:454
@ SPI_ENGINE
Definition: xilinx_spi.h:64
Definition: adt7420.h:151
@ ID_AD4630_24
Definition: ad463x.h:151
int autocalibration_read_vals(struct ade9153a_dev *dev)
Autocalibration read values.
Definition: common_data.c:307
struct no_os_uart_init_param ad5460_uart_ip
Definition: common_data.c:42
struct no_os_gpio_init_param ade9113_gpio_rcddc_ip
Definition: common_data.c:128
const struct no_os_gpio_init_param adin1110_cfg0_ip
Definition: common_data.c:189
struct ltc2983_rtd ltc2983_rtd_11
Definition: common_data.c:180
struct ade7816_init_param ade7816_ip
Definition: common_data.c:70
struct no_os_i2c_init_param lt7182s_i2c_ip
Definition: common_data.c:47
@ ADXL38X_SPI_COMM
Definition: adxl38x.h:242
uint32_t num_slaves
Definition: maxim_spi.h:54
enum no_os_irq_event event
Definition: no_os_irq.h:148
struct no_os_spi_init_param adis1646x_spi_ip
Definition: common_data.c:57
Definition: max22196.h:132
const struct adis_chip_info adis1647x_chip_info
Definition: adis1647x.c:207
struct no_os_gpio_init_param ade9113_gpio_led2_ip
Definition: common_data.c:80
Structure holding the parameters for timer initialization.
Definition: no_os_timer.h:83
struct no_os_gpio_init_param ade7816_gpio_irq0_ip
Definition: common_data.c:62
@ AD7091R2
Definition: ad7091r8.h:87
struct no_os_gpio_init_param ade9113_gpio_rcm_test_ip
Definition: common_data.c:112
struct max14919_init_param max14919_ip
Definition: common_data.c:100
struct no_os_spi_init_param ad5460_spi_ip
Definition: common_data.c:54
const struct adis_chip_info * info
Definition: adis.h:308
struct no_os_uart_init_param ad7091r8_uart_ip
Definition: common_data.c:42
Header file of PWM Interface.
@ ID_AD4020
Definition: pulsar_adc.h:72
struct no_os_i2c_init_param * i2c_init
Definition: lt7170.h:307
struct no_os_irq_init_param ade9113_gpio_irq_ip
Definition: common_data.c:162
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
@ ID_ADXL382
Definition: adxl38x.h:238
Defines common data to be used by ad9545 example.
@ AD7616_SW
Definition: ad7616.h:115
int32_t active_power_reg_val
Definition: ade9153a.h:750
struct no_os_uart_init_param pulsar_adc_uart_ip
Definition: common_data.c:46
struct no_os_gpio_init_param ade9113_gpio_rcdac_ip
Definition: common_data.c:120
RTD sensor descriptor for LTC2983.
Definition: ltc2983.h:306
struct ltc2983_rsense ltc2983_rsense_3
Definition: common_data.c:149
Defines common data to be used by max42500 examples.
@ ONE_WIRE_MODE
Definition: ad738x.h:113
union adt7420_init_param::interface_type interface_init
struct no_os_gpio_init_param gpio_ip
Definition: common_data.c:46
#define ADE7913_VREF_I
Definition: ade7913.h:122
struct adf4382_init_param adf4382_ip
Definition: common_data.c:58
struct no_os_spi_init_param * spi_init
Definition: ad9545.h:755
struct no_os_uart_init_param adf4382_uart_ip
Definition: common_data.c:36
Defines common data to be used by eval-ad738x examples.
#define MULT_CC_60HZ
Definition: common_data.h:138
struct adis_init_param adis1650x_ip
Definition: common_data.c:76
enum ltc2672_device_id id
Definition: ltc2672.h:200
struct no_os_i2c_init_param * i2c_init
Definition: lt7182s.h:338
Defines common data to be used by the ADIN1110 examples.
struct adt75_init_param adt75_ip
Definition: common_data.c:176
uint32_t chip_address
Definition: max149x6-base.h:55
struct no_os_gpio_init_param ade9113_gpio_led2_ip
Definition: common_data.c:80
Defines common data to be used by eval-adis1650x examples.
Defines common data to be used by ltp8800 examples.
struct ad74416h_init_param ad74416h_ip
Definition: common_data.c:64
#define SAMPLES_PER_CHANNEL
Definition: common_data.h:52
#define FREQ_CC
Definition: common_data.h:134
uint32_t dev_global_attr
Definition: adc_demo.h:80
struct no_os_gpio_init_param psu_gpio_param
Definition: swiot.h:99
struct ltc4306_init_param ltc4306_user_init
Definition: common_data.c:61
#define AD738X_FLAG_STANDARD_SPI_DMA
Definition: ad738x.h:106
@ NO_OS_SPI_BIT_ORDER_MSB_FIRST
Definition: no_os_spi.h:76
struct ltp8800_init_param ltp8800_ip
Definition: common_data.c:63
#define RDY_PIN
Definition: parameters.h:45
struct no_os_uart_init_param adp1050_uart_ip
Definition: common_data.c:35
@ ADIS16505_2
Definition: adis.h:91
IIO hardware trigger initialization structure.
Definition: iio_trigger.h:86
struct no_os_gpio_init_param adin1110_reset_gpio_ip
Definition: common_data.c:56
struct no_os_gpio_init_param gpio_adc_en0_fmc_ip
Definition: common_data.c:132
@ AD7091R8
Definition: ad7091r8.h:89
struct max31855_init_param max31855_ip
Definition: common_data.c:59
struct no_os_pwm_init_param max25603_en2_ip
Definition: common_data.c:63
enum no_os_irq_event event
Definition: iio_trigger.h:75
#define GPIO_ADC_STBY
Definition: parameters.h:65
struct no_os_spi_init_param spi_init
Definition: max31855.h:69
struct axi_pwm_init_param axi_pwm_init_params
Definition: ad7616_sdz.c:82
struct no_os_gpio_init_param adp1050_pg_alt_ip
Definition: common_data.c:53
struct no_os_gpio_init_param ade9113_gpio_rcdac_ip
Definition: common_data.c:120
uint32_t irq_id
Definition: iio_trigger.h:92
#define RX_CORE_BASEADDR
Definition: parameters.h:63
struct axi_clkgen_init clkgen_init
Definition: common_data.c:80
@ ADXL355_SPI_COMM
Definition: adxl355.h:173
struct no_os_spi_init_param * comm_param
Definition: max22196.h:134
@ AD469x_OSR_1
Definition: ad469x.h:213
Structure holding the MAX14919 initialization parameter.
Definition: max14919.h:59
#define ADE9153A_REG_MS_ACAL_CFG
Definition: ade9153a.h:118
struct no_os_gpio_init_param ade9113_gpio_reset_ip
Definition: common_data.c:72
struct no_os_spi_init_param * spi_init
Definition: ad719x.h:209
enum adin1110_chip_id chip_type
Definition: adin1110.h:212
Definition: ltp8800.h:209
IIO software trigger initialization structure.
Definition: iio_trigger.h:116
Defines common data to be used by eval-adxl367z examples.
int32_t current_h_rms_reg_val
Definition: ade9153a.h:775
Structure holding the parameters for I2C initialization.
Definition: no_os_i2c.h:64
struct ltc2672_init_param ltc2672_ip
Definition: common_data.c:62
Definition: iio_types.h:231
#define NULL
Definition: wrapper.h:64
#define ADE7913_VREF_V
Definition: ade7913.h:121
struct axi_dac_init ad3552r_core_ip
Definition: common_data.c:54
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
struct no_os_uart_init_param adt75_uart_ip
Definition: common_data.c:42
struct no_os_spi_init_param * spi_init
Definition: ad7091r8.h:184
Definition: max22190.h:82
#define ADE9153A_REG_AIGAIN
Definition: ade9153a.h:100
struct no_os_irq_init_param afe_callback_ctrl_ip
Definition: common_data.c:150
struct adis_init_param adis1657x_ip
Definition: common_data.c:76
struct no_os_spi_init_param spi_init
Definition: ltc2983.h:230
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
struct no_os_spi_init_param ad7616_spi_ip
Definition: common_data.c:56
struct axi_pwm_init_param axi_pwm_1_extra
Definition: common_data.c:95
#define LTP8800_ADDRESS
Definition: common_data.h:40
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
struct no_os_gpio_init_param gpio_adc_en3_fmc_ip
Definition: common_data.c:114
int32_t no_os_gpio_set_value(struct no_os_gpio_desc *desc, uint8_t value)
Set the value of the specified GPIO.
Definition: no_os_gpio.c:197
struct swiot_iio_desc_init_param swiot_ip
struct max_gpio_init_param gpio_extra
Definition: common_data.c:47
struct no_os_spi_init_param * spi_param
Definition: ad738x.h:170
struct xil_gpio_init_param xil_gpio_init
Definition: common_data.c:109
@ ID_ADXL355
Definition: adxl355.h:156
struct no_os_uart_init_param max22190_uart_ip
Definition: common_data.c:35
@ NO_OS_EVT_GPIO
Definition: no_os_irq.h:62
int64_t rms_filter_v1_3(int32_t sample)
Compute v1_3 rms value for device 3.
Definition: common_data.c:272
@ VCONSEL_4W_WYE
Definition: pqlib_example.h:75
struct no_os_gpio_init_param ade9113_gpio_relay_ip
Definition: common_data.c:88
struct no_os_gpio_init_param ade9113_gpio_rdy_ip
Definition: common_data.c:64
struct no_os_gpio_init_param ad74413r_reset_ip
Definition: common_data.c:93
Structure holding the initial parameters for Interrupt Request.
Definition: no_os_irq.h:107
int32_t i_rms_adc
Definition: state_machine.h:233
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
const struct no_os_uart_platform_ops max_usb_uart_ops
Maxim platform specific UART platform ops structure.
Definition: maxim_usb_uart.c:324
@ NO_OS_IRQ_EDGE_RISING
Definition: no_os_irq.h:80
Header file of ADT75 Driver.
struct no_os_spi_init_param spi_init
Definition: adxl367.h:455
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:61
@ AD3552R_ID
Definition: ad3552r.h:179
int32_t v1_rms
Definition: state_machine.h:229
#define AD7606X_TRIGGER_PULSE_WIDTH_NS
Definition: parameters.h:71
#define AD463X_SDR_MODE
Definition: ad463x.h:94
Defines common data to be used by max22196 examples.
Defines common data to be used by adrv902x examples.
struct max_uart_init_param uart_extra_ip
Definition: common_data.c:48
const struct no_os_gpio_init_param max14906_synch_ip
Definition: common_data.c:157
int32_t current_rms_reg_val
Definition: ade9153a.h:763
uint16_t gain_reg_val
Definition: ade9153a.h:803
LTC2983 init param.
Definition: ltc2983.h:228
struct no_os_gpio_init_param max14919_fault_ip
Definition: common_data.c:45
struct no_os_spi_init_param * spi_init
Definition: adf4382.h:489
struct no_os_gpio_init_param max14919_in_ip[4]
Definition: common_data.c:53
uint8_t device_id
Definition: no_os_uart.h:112
#define AD9528_RESET_B
Definition: parameters.h:164
ADE9153A half rms registers values.
Definition: ade9153a.h:773
struct no_os_spi_init_param ade7816_spi_ip
Definition: common_data.c:45
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
struct no_os_spi_init_param ad7091r8_spi_ip
Definition: common_data.c:54
uint32_t dev_ch_attr[MAX_ADC_ADDR]
Definition: adc_demo.h:82
Defines common data to be used by eval-adxl355-pmdz examples.
struct no_os_gpio_init_param ade9113_gpio_relay_ip
Definition: common_data.c:88
@ ID_ADXL357
Definition: adxl355.h:157
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
@ NO_OS_PULL_UP
Definition: no_os_gpio.h:68
uint8_t chan
Definition: ltc2983.h:272
const struct no_os_i2c_init_param ltc3337_i2c_ip
Definition: common_data.c:48
int32_t voltage_rms_reg_val
Definition: ade9153a.h:765
@ ID_ADXL359
Definition: adxl355.h:158
struct lt8722_init_param lt8722_ip
Definition: common_data.c:71
struct no_os_gpio_init_param adis1647x_gpio_reset_ip
Definition: common_data.c:68
Defines common data to be used by ad469x_fmcz examples.
Defines common data to be used by ad463x-fmcz examples.
const struct no_os_i2c_init_param adt75_param
Definition: common_data.c:168
struct no_os_i2c_init_param adp1050_i2c_ip
Definition: common_data.c:45
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
Header file of GPIO Interface.
struct no_os_i2c_init_param * i2c_init
Definition: ltp8800.h:210
int32_t active_energy_reg_val
Definition: ade9153a.h:737
@ ID_AD4030
Definition: ad463x.h:169
int64_t rms_filter_v1_2(int32_t sample)
Compute v1_2 rms value for device 2.
Definition: common_data.c:221
Defines common data to be used by ade7816 example.
#define POWER_CC
Definition: common_data.h:126
struct no_os_spi_init_param ade9153a_spi_ip
Definition: common_data.c:116
struct no_os_gpio_init_param max22200_cmd_ip
Definition: common_data.c:53
@ NO_OS_GPIO_IRQ
Definition: no_os_irq.h:85
Header file of AD796X Driver.
struct no_os_gpio_init_param ltp8800_ctrl_gpio_ip
Definition: common_data.c:55
const struct no_os_spi_init_param ltc2983_spi_ip
Definition: common_data.c:47
struct no_os_uart_init_param ad7616_uart_ip
Definition: common_data.c:44
struct no_os_spi_init_param spi_egy_ip
Definition: common_data.c:123
@ LT7182S_DATA_FORMAT_IEEE754
Definition: lt7182s.h:244
Header file of ad3552r Driver.
struct no_os_irq_init_param max11205_gpio_irq_ip
Definition: common_data.c:72
int32_t v1_rms_adc
Definition: state_machine.h:235
struct no_os_uart_init_param ade9113_uart_ip
Definition: common_data.c:42
Header file of UART interface.
@ AD719X_INT_CLK_4_92_MHZ
Definition: ad719x.h:159
uint8_t in_buff[MAX_SIZE_BASE_ADDR]
Definition: common_data.c:46
uint32_t ext_buff_len
Definition: common_data.h:116
const struct no_os_gpio_init_param ad74413r_ldac_ip
Definition: common_data.c:101
Initialization parameter for the device descriptor.
Definition: adt75.h:72
Defines common data to be used by ad7091r8-sdz examples.
Initialization parameter for the ADP1050 device.
Definition: adp1050.h:545
struct ltc2983_rsense ltc2983_rsense_2
Definition: common_data.c:102
@ ADIS16477_1
Definition: adis.h:85
bool is_synchronous
Definition: iio_types.h:234
struct axi_adc_init ad796x_core_ip
Definition: common_data.c:63
Common data used by the MAX22200 project.
#define loopback_buffs
Definition: common_data.h:70
uint8_t prescale
Definition: ltc3337.h:112
struct no_os_uart_init_param lt8722_uart_ip
Definition: common_data.c:35
struct no_os_gpio_init_param adis1646x_gpio_reset_ip
Definition: common_data.c:68
struct lt7170_init_param lt7170_ip
Definition: common_data.c:61
const struct adis_chip_info adis1657x_chip_info
Definition: adis1657x.c:381
uint32_t base_addr
Definition: axi_pwm_extra.h:52
Initialization parameter for the MAX149X6 device.
Definition: max149x6-base.h:54
struct adin1110_init_param adin1110_ip
Definition: common_data.c:221
ADE9153A Device structure.
Definition: ade9153a.h:712
struct no_os_uart_init_param ad9545_uart_ip
Definition: common_data.c:46
struct ltc2983_thermistor ltc2983_thermistor_10
Definition: common_data.c:131
Defines common data to be used by eval-adis1654x examples.
Hardware trigger callback extra information structure.
Definition: iio_trigger.h:73
struct no_os_irq_init_param ade9113_gpio_irq_ip
Definition: common_data.c:162
struct no_os_spi_init_param adis1647x_spi_ip
Definition: common_data.c:57
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
struct no_os_spi_init_param ad74413r_spi_ip
Definition: common_data.c:54
struct no_os_spi_init_param ltc2672_spi_ip
Definition: common_data.c:52
LT8491 init param.
Definition: lt8491.h:102
struct no_os_gpio_init_param ade7816_reset_ip
Definition: common_data.c:54
uint32_t ref_clk_hz
Definition: spi_engine.h:85
Definition: adc_demo.h:78
struct no_os_pwm_init_param axi_pwm_0_ip
Definition: common_data.c:87
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
struct no_os_spi_init_param max14916_spi_ip
Definition: common_data.c:45
struct no_os_uart_init_param max14919_uart_ip
Definition: common_data.c:35
int32_t period_reg_val
Definition: ade9153a.h:788
Defines common data to be used by max14916 examples.
struct no_os_uart_init_param adis1650x_uart_ip
Definition: common_data.c:45
struct no_os_pwm_init_param axi_pwm_1_ip
Definition: common_data.c:101
struct no_os_spi_init_param * comm_param
Definition: max22017.h:192
struct adt75_init_param adt75_ip
Definition: common_data.c:176
#define MAX_DUT
Definition: basic_example.c:49
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
Parameters definition for AD7606X-FMC.
struct ltc2983_sensor sensor
Definition: ltc2983.h:376
Definition: common_data.h:113
struct no_os_uart_init_param adis1657x_uart_ip
Definition: common_data.c:45
struct no_os_pwm_init_param * en1_param
Definition: max25603.h:67
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
uint16_t offset_reg_val
Definition: ade9153a.h:801
Structure containing the init parameters needed by the ad469x device.
Definition: ad469x.h:254
@ AD469x_standard_seq
Definition: ad469x.h:172
int32_t i_rms
Definition: state_machine.h:227
Defines common data to be used by max14914 example.
const struct no_os_irq_platform_ops max_gpio_irq_ops
maxim platform specific gpio irq platform ops structure
Definition: maxim_gpio_irq.c:375
uint32_t device_id
Definition: no_os_i2c.h:66
struct no_os_spi_init_param max22017_spi_ip
Definition: common_data.c:47
Header file for pulsar_adc Driver.
const struct adis_chip_info adis1655x_chip_info
Definition: adis1655x.c:888
int ade9153a_run(struct ade9153a_dev *dev)
Start measurements.
Definition: ade9153a.c:3733
#define ADP1050_ON_OFF_DEFAULT_CFG
Definition: adp1050.h:51
struct no_os_uart_init_param ltp8800_uart_ip
Definition: common_data.c:35
const char * name
Definition: axi_adc_core.h:145
int rms_adc_values_read_3(struct ade7913_dev *dev, struct rms_adc_values *rms)
Saves the current and voltage values of device 3 in rms_adc structure.
Definition: common_data.c:139
struct ad3552r_init_param default_ad3552r_param
Definition: common_data.c:90
struct ad7606_axi_init_param * axi_init
Definition: ad7606.h:313
struct adxl38x_init_param adxl38x_ip
Definition: common_data.c:64
struct spi_engine_offload_init_param * offload_init_param
Definition: ad7606.h:296
Defines common data to be used by ad719x examples.
struct ad719x_init_param ad7190_dev_ip
Definition: common_data.c:64
struct no_os_gpio_init_param ad7616_gpio_busy_ip
Definition: common_data.c:67
struct no_os_gpio_init_param ade9113_gpio_reset_ip
Definition: common_data.c:72
Definition: dac_demo.h:77
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
Structure holding the parameters for ADXL38X device initialization.
Definition: adxl38x.h:354
Defines common data to be used by DC2903A examples.
@ ADE7816_IRQ0
Definition: ade7816.h:281
Definition: lt7182s.h:337
#define AD463X_SPI_COMPATIBLE_MODE
Definition: ad463x.h:120
AD796X Device initialization parameters.
Definition: ad796x.h:71
struct ltc4296_init_param ltc4296_ip
Definition: common_data.c:55
@ ID_LT7170
Definition: lt7170.h:215
struct no_os_uart_init_param max14916_uart_ip
Definition: common_data.c:35
int16_t temperature_reg_val
Definition: ade9153a.h:799
@ ADIS16545_3
Definition: adis.h:98
struct ltc2983_init_param ltc2983_ip
Definition: common_data.c:65
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
struct no_os_gpio_init_param max14919_rev_ip
Definition: common_data.c:92
#define AD7606X_DMA_BASEADDR
Definition: parameters.h:56
int rms_adc_values_read_2(struct ade7913_dev *dev, struct rms_adc_values *rms)
Saves the current and voltage values of device 2 in rms_adc structure.
Definition: common_data.c:107
#define GPIO_SCK_PORT
Definition: common_data.h:82
@ ADXL367_SPI_COMM
Definition: adxl367.h:296