Go to the documentation of this file.
33 #ifndef __DUMMY_EXAMPLE_H__
34 #define __DUMMY_EXAMPLE_H__
int32_t adt7420_remove(struct adt7420_dev *dev)
Free the resources allocated by adt7420_init().
Definition: adt7420.c:264
uint8_t offload_config
Definition: spi_engine.h:151
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:25
DUMMY example header for eval-adxl367z project.
int32_t decimal
Definition: ad74413r.h:307
@ NO_OS_SPI_MODE_1
Definition: no_os_spi.h:63
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:34
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:26
#define GPIO_DCLKMODE
Definition: parameters.h:71
int32_t adt7420_init(struct adt7420_dev **device, struct adt7420_init_param init_param)
Initializes the communication peripheral and checks if the device is present.
Definition: adt7420.c:202
struct no_os_gpio_init_param * gpio_dclkmode
Definition: ad713x.h:715
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
#define ADT7420_13BIT_DIV
Definition: adt7420.h:101
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:27
uint32_t timeout
Definition: ad413x.c:49
int adxl355_get_temp(struct adxl355_dev *dev, struct adxl355_frac_repr *temp)
Reads the raw temperature data and converts it to millidegrees Celsius.
Definition: adxl355.c:625
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
uint32_t no_commands
Definition: spi_engine.h:165
int adxl367_read_converted_fifo(struct adxl367_dev *dev, struct adxl367_fractional_val *x, struct adxl367_fractional_val *y, struct adxl367_fractional_val *z, struct adxl367_fractional_val *temp_adc, uint16_t *entries)
Reads converted values from FIFO. If, after setting FIFO mode, any of x, y, z, temp or adc aren't sel...
Definition: adxl367.c:1143
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
int adxl367_temp_read_en(struct adxl367_dev *dev, bool enable)
Enables temperature reading.
Definition: adxl367.c:665
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:29
Header file for the ad713x Driver.
#define GPIO_DCLKIO_1
Definition: parameters.h:68
int adxl355_get_fifo_data(struct adxl355_dev *dev, uint8_t *fifo_entries, struct adxl355_frac_repr *x, struct adxl355_frac_repr *y, struct adxl355_frac_repr *z)
Reads fifo data and returns the values converted in m/s^2.
Definition: adxl355.c:767
int ad74413r_clear_errors(struct ad74413r_desc *desc)
Clear the ALERT_STATUS register.
Definition: ad74413r.c:333
#define AD713x_SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:49
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:26
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
int64_t integer
Definition: adxl367.h:416
int adxl355_set_odr_lpf(struct adxl355_dev *dev, enum adxl355_odr_lpf odr_lpf_val)
Writes the low-pass filter settings.
Definition: adxl355.c:386
#define ADC0_IN_ADC0_IN6_PORTP2_MUX
Definition: pinmux_config.c:42
@ GPIO_PS
Definition: xilinx_gpio.h:56
@ SPI_PS
Definition: xilinx_spi.h:62
Definition: adxl355.h:260
bool clk_delay_en
Definition: ad713x.h:740
uint32_t size
Definition: iio_app.h:63
int main()
Definition: ad713x_fmc.c:76
Device Structure.
Definition: ad7124.h:481
#define GPIO_PDN_1
Definition: parameters.h:56
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:25
@ UART_PL
Definition: xilinx_uart.h:57
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
#define AD74413R_CH_C
Definition: ad74413r.h:46
uint8_t FIFO_FULL
Definition: adxl355.h:253
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
int32_t adi_initpinmux(void)
Definition: pinmux_config.c:37
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:26
Header file of SPI Interface.
int ad74413r_init(struct ad74413r_desc **desc, struct ad74413r_init_param *init_param)
Initialize the device structure.
Definition: ad74413r.c:1170
uint8_t FIFO_OVR
Definition: adxl355.h:254
#define TIMER0_TIMER0_OUT_PORTP0_MUX
Definition: pinmux_config.c:32
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
Header file of IRQ interface.
enum xil_uart_type type
Definition: xilinx_uart.h:69
enum ad713x_supported_dev_ids dev_id
Definition: ad713x.h:733
@ ID_AD7134
Definition: ad713x.h:572
int adxl355_get_sts_reg(struct adxl355_dev *dev, union adxl355_sts_reg_flags *status_flags)
Reads the status register value.
Definition: adxl355.c:661
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:28
int32_t spi_engine_offload_init(struct no_os_spi_desc *desc, const struct spi_engine_offload_init_param *param)
Initialize the SPI engine's offload module.
Definition: spi_engine.c:763
@ ADXL367_FIFO_FORMAT_XYZT
Definition: adxl367.h:357
#define GPIO_MODE_2
Definition: parameters.h:59
int ad74413r_set_threshold(struct ad74413r_desc *desc, uint32_t ch, uint32_t threshold)
Set the threshold, for which a signal would be considered high, when the ADC is running in digital in...
Definition: ad74413r.c:993
DUMMY example header for ad719x project.
float adt7420_get_temperature(struct adt7420_dev *dev)
Reads the temperature data and converts it to Celsius degrees.
Definition: adt7420.c:370
Driver for the Analog Devices AXI CLKGEN.
#define AD7134_2_SPI_CS
Definition: parameters.h:51
@ DMA_PARTIAL_REPORTING_EN
Definition: axi_dmac.h:93
IIO application descriptor.
Definition: iio_app.h:80
@ QUAD_CH_PO
Definition: ad713x.h:626
AD713x driver initialization structure.
Definition: ad713x.h:709
uint32_t * commands_data
Definition: spi_engine.h:167
void * buff
Definition: iio_app.h:64
uint32_t period_ns
Definition: no_os_pwm.h:70
Header file of Delay functions.
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:26
#define SPI0_CS_3_PORTP2_MUX
Definition: pinmux_config.c:31
#define AD74413R_CH_D
Definition: ad74413r.h:47
@ ADC_24_BIT_DATA
Definition: ad713x.h:596
uint8_t resolution_setting
Definition: adt7420.h:147
Definition: clk_axi_clkgen.h:50
ADC value format.
Definition: ad74413r.h:305
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:26
int ad74413r_get_live(struct ad74413r_desc *desc, union ad74413r_live_status *status)
Read the live status bits.
Definition: ad74413r.c:1068
enum ad713x_crc_header crc_header
Definition: ad713x.h:737
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:31
int32_t axi_clkgen_set_rate(struct axi_clkgen *clkgen, uint32_t rate)
axi_clkgen_set_rate
Definition: clk_axi_clkgen.c:414
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
#define GPIO_RESETN_2
Definition: parameters.h:55
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:27
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
int ad719x_init(struct ad719x_dev **device, struct ad719x_init_param init_param)
Initializes the communication peripheral and the initial Values for AD719X Board and resets the devic...
Definition: ad719x.c:58
#define ADT7420_REG_T_HIGH_LSB
Definition: adt7420.h:76
bool pnd
Definition: ad713x.h:731
int ad74413r_get_temp(struct ad74413r_desc *desc, uint32_t ch, uint16_t *temp)
Read the die's temperature from the diagnostic register.
Definition: ad74413r.c:842
#define ADT7420_16BIT_NEG
Definition: adt7420.h:96
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:29
Structure representing an offload message.
Definition: spi_engine.h:158
int32_t adt7420_reset(struct adt7420_dev *dev)
Resets the SPI or I2C inteface for the ADT7420/ADT7320.
Definition: adt7420.c:340
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:27
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:25
bool dclkio_out_nin
Definition: ad713x.h:729
#define AD7134_FMC_SAMPLE_NO
Definition: parameters.h:75
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
@ UART_PS
Definition: xilinx_uart.h:59
Header file of ADXL355 Driver.
#define AD7134_DMA_BASEADDR
Definition: parameters.h:47
int32_t number
Definition: no_os_gpio.h:83
int adxl355_soft_reset(struct adxl355_dev *dev)
Performs a soft reset of the device.
Definition: adxl355.c:294
ad7124_registers
Definition: ad7124.h:416
ADXL367 Device structure.
Definition: adxl367.h:424
uint32_t device_id
Definition: xilinx_gpio.h:68
#define TIMER2_TIMER2_OUT_PORTP2_MUX
Definition: pinmux_config.c:34
int32_t axi_clkgen_init(struct axi_clkgen **clk, const struct axi_clkgen_init *init)
axi_clkgen_init
Definition: clk_axi_clkgen.c:520
#define ADC_BUFFER_SIZE
Definition: parameters.h:77
Definition: clk_axi_clkgen.h:44
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
#define AD7134_FMC_CH_NO
Definition: parameters.h:74
struct no_os_gpio_init_param * gpio_pnd
Definition: ad713x.h:721
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
#define ADC0_IN_ADC_CONVERT_PORTP1_MUX
Definition: pinmux_config.c:35
uint8_t Activity
Definition: adxl355.h:255
enum ad713x_adc_data_len adc_data_len
Definition: ad713x.h:735
int adxl367_set_output_rate(struct adxl367_dev *dev, enum adxl367_odr odr)
Selects the Output Data Rate of the device.
Definition: adxl367.c:496
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:28
int32_t fractional
Definition: adxl367.h:417
Used to store the live status bit fields.
Definition: ad74413r.h:341
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:25
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
int32_t ad7124_read_data(struct ad7124_dev *dev, int32_t *p_data)
Reads the conversion result from the device.
Definition: ad7124.c:396
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
int64_t integer
Definition: adxl355.h:278
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:29
int ad719x_temperature_read(struct ad719x_dev *dev, float *temp)
Read data from temperature sensor and converts it to Celsius degrees.
Definition: ad719x.c:697
uint8_t VI_ERR_A
Definition: ad74413r.h:322
#define SPI0_RDY_PORTP1_MUX
Definition: pinmux_config.c:32
int ad74413r_remove(struct ad74413r_desc *desc)
Free the device descriptor.
Definition: ad74413r.c:1227
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:31
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
const struct no_os_pwm_platform_ops axi_pwm_ops
AXI platform specific PWM platform ops structure.
Definition: axi_pwm.c:406
uint32_t device_id
Definition: no_os_spi.h:142
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:31
ADXL355 Device structure.
Definition: adxl355.h:293
DUMMY example header for ad74413r project.
#define ADC0_IN_ADC0_IN7_PORTP2_MUX
Definition: pinmux_config.c:43
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
int ad74413r_set_diag(struct ad74413r_desc *desc, uint32_t ch, enum ad74413r_diag_mode diag_code)
Set which diagnostic value to be loaded in the DIAG_RESULT register.
Definition: ad74413r.c:882
#define AD7134_1_SPI_CS
Definition: parameters.h:50
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
int32_t ad7124_read_register(struct ad7124_dev *dev, struct ad7124_st_reg *p_reg)
Reads the value of the specified register only when the device is ready to accept user requests....
Definition: ad7124.c:174
enum xil_spi_type type
Definition: spi_engine.h:87
struct no_os_spi_desc * spi_desc
Definition: ad713x.h:682
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:26
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
int adxl367_init(struct adxl367_dev **device, struct adxl367_init_param init_param)
Initializes communication with the device and checks if the part is present by reading the device id.
Definition: adxl367.c:65
#define SPI0_CS_0_PORTP0_MUX
Definition: pinmux_config.c:28
#define ADC0_IN_ADC0_IN3_PORTP2_MUX
Definition: pinmux_config.c:39
int32_t ad713x_remove(struct ad713x_dev *dev)
Free the resources allocated by ad713x_init().
Definition: ad713x.c:638
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:34
#define ADT7420_16BIT_DIV
Definition: adt7420.h:98
int64_t integer
Definition: ad74413r.h:306
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:33
uint8_t DATA_RDY
Definition: adxl355.h:252
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:25
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
#define ADC0_IN_ADC0_IN5_PORTP2_MUX
Definition: pinmux_config.c:41
#define ADT7420_REG_T_LOW_MSB
Definition: adt7420.h:77
uint32_t base
Definition: clk_axi_clkgen.h:52
int adxl355_get_xyz(struct adxl355_dev *dev, struct adxl355_frac_repr *x, struct adxl355_frac_repr *y, struct adxl355_frac_repr *z)
Reads the raw output data of each axis and converts it to g.
Definition: adxl355.c:571
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:26
int ad719x_continuous_read_avg(struct ad719x_dev *dev, uint8_t sample_number, uint32_t *samples_avg)
Returns the average of several conversion results.
Definition: ad719x.c:656
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
int32_t ad713x_channel_sync(struct ad713x_dev *dev)
Multidevice synchronization between channels on different devices.
Definition: ad713x.c:305
@ ADXL367_OP_MEASURE
Definition: adxl367.h:306
#define ADC0_IN_ADC0_IN0_PORTP2_MUX
Definition: pinmux_config.c:36
Driver for the Analog Devices AXI-DMAC core.
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:29
struct adt7420_init_param adt7420_user_init
Definition: common_data.c:63
#define ADT7420_REG_HIST
Definition: adt7420.h:81
AD74413r device descriptor.
Definition: ad74413r.h:349
int adxl367_self_test(struct adxl367_dev *dev)
Performs self test.
Definition: adxl367.c:159
uint8_t VI_ERR_D
Definition: ad74413r.h:325
#define ADT7420_13BIT_NEG
Definition: adt7420.h:99
#define ADC0_IN_ADC0_IN1_PORTP2_MUX
Definition: pinmux_config.c:37
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:35
struct no_os_spi_init_param * spi_init
Definition: ad7124.h:504
@ CRC_6
Definition: ad713x.h:611
struct no_os_spi_init_param spi_init_prm
Definition: ad713x.h:711
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
uint32_t tx_addr
Definition: spi_engine.h:169
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
#define GPIO_CS_SYNC
Definition: parameters.h:72
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:30
struct no_os_gpio_init_param * gpio_dclkio
Definition: ad713x.h:717
Header file of AD74413r Driver.
@ AD74413R_DIGITAL_INPUT
Definition: ad74413r.h:201
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
struct _ad74413r_live_status status_bits
Definition: ad74413r.h:342
Header file of iio_axi_adc.
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
struct no_os_spi_init_param spi_init
Definition: common_data.c:120
int ad74413r_set_gpo_config(struct ad74413r_desc *desc, uint32_t ch, enum ad74413r_gpo_select config)
Set the GPO operation mode.
Definition: ad74413r.c:976
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:28
enum xil_spi_type type
Definition: xilinx_spi.h:74
#define ADC0_IN_ADC0_IN2_PORTP2_MUX
Definition: pinmux_config.c:38
struct no_os_gpio_init_param * gpio_mode
Definition: ad713x.h:713
@ AD74412R
Definition: ad74413r.h:176
struct ad7124_st_reg ad7124_regs[AD7124_REG_NO]
Definition: ad7124_regs.c:37
int iio_app_run(struct iio_app_desc *app)
uint32_t * commands
Definition: spi_engine.h:163
uint32_t rx_dma_baseaddr
Definition: spi_engine.h:145
Structure representing an PWM generator device.
Definition: no_os_pwm.h:93
Data format in which the values are converted.
Definition: adxl367.h:415
#define ADT7420_REG_T_LOW_LSB
Definition: adt7420.h:78
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
@ SPI_ENGINE
Definition: xilinx_spi.h:64
int32_t no_os_pwm_init(struct no_os_pwm_desc **desc, const struct no_os_pwm_init_param *param)
Initialize the PWM peripheral.
Definition: no_os_pwm.c:51
#define AD74413R_CH_A
Definition: ad74413r.h:44
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:29
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:33
struct no_os_gpio_init_param * gpio_cs_sync
Definition: ad713x.h:723
struct _adxl355_sts_reg_flags fields
Definition: adxl355.h:261
Definition: adxl355.h:277
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
int main(void)
Definition: ad7124-4sdz.c:41
int32_t ad7124_wait_for_conv_ready(struct ad7124_dev *dev, uint32_t timeout)
Waits until a new conversion result is available.
Definition: ad7124.c:362
#define AD74413R_CH_B
Definition: ad74413r.h:45
uint32_t max_speed_hz
Definition: no_os_spi.h:144
int32_t ad7124_setup(struct ad7124_dev **device, struct ad7124_init_param *init_param)
Initializes the AD7124.
Definition: ad7124.c:990
Header file of PWM Interface.
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
#define ADT7420_REG_T_HIGH_MSB
Definition: adt7420.h:75
int ad74413r_adc_get_value(struct ad74413r_desc *desc, uint32_t ch, struct ad74413r_decimal *val)
Get the ADC real value, according to the operation mode.
Definition: ad74413r.c:771
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
@ AD7124_REG_NO
Definition: ad7124.h:474
int ad74413r_set_channel_function(struct ad74413r_desc *desc, uint32_t ch, enum ad74413r_op_mode ch_func)
Set the operation mode for a specific channel.
Definition: ad74413r.c:421
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:27
@ ADXL355_ODR_3_906HZ
Definition: adxl355.h:198
@ AD74413R_CURRENT_IN_EXT
Definition: ad74413r.h:198
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:27
#define TIMER1_TIMER1_OUT_PORTP1_MUX
Definition: pinmux_config.c:33
Header file of ADXL367 Driver.
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
uint32_t dma_flags
Definition: spi_engine.h:149
int dummy_example_main()
Dummy example main execution.
Definition: dummy_example.c:53
uint8_t NVM_BUSY
Definition: adxl355.h:256
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
#define GPIO_DCLKIO_2
Definition: parameters.h:69
@ ADXL355_MEAS_TEMP_ON_DRDY_OFF
Definition: adxl355.h:166
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:24
int ad74413r_set_channel_dac_code(struct ad74413r_desc *desc, uint32_t ch, uint16_t dac_code)
Set and load a code for the DAC on a specific channel.
Definition: ad74413r.c:863
int ad74413r_dac_voltage_to_code(uint32_t mvolts, uint32_t *code)
Converts a millivolt value in the corresponding DAC 13 bit code.
Definition: ad74413r.c:188
#define NULL
Definition: wrapper.h:64
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
@ AD74413R_DIAG_TEMP
Definition: ad74413r.h:243
AD713x driver handler structure.
Definition: ad713x.h:680
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:29
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
DUMMY example header for adt7420-pmdz project.
int dummy_example_main()
Dummy example main execution.
Definition: dummy_example.c:53
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
#define AD7134_SPI_ENGINE_BASEADDR
Definition: parameters.h:48
int ad74413r_set_diag_channel_enable(struct ad74413r_desc *desc, uint32_t ch, bool status)
Enable conversions on a diagnostic register.
Definition: ad74413r.c:497
DUMMY example header for eval-adxl355-pmdz project.
int adt7420_reg_read(struct adt7420_dev *dev, uint16_t register_address, uint16_t *data)
Reads the value of a register.
Definition: adt7420.c:75
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:28
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:24
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
Definition: adt7420.h:139
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:61
enum ad713x_doutx_format format
Definition: ad713x.h:738
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:28
float ad719x_convert_to_volts(struct ad719x_dev *dev, uint32_t raw_data, float v_ref)
Converts 24-bit raw data to milivolts.
Definition: ad719x.c:738
uint8_t VI_ERR_B
Definition: ad74413r.h:323
@ ADXL367_ODR_200HZ
Definition: adxl367.h:328
int adxl367_fifo_setup(struct adxl367_dev *dev, enum adxl367_fifo_mode mode, enum adxl367_fifo_format format, uint8_t sets_nb)
Configures the FIFO feature. Uses ADXL367_14B_CHID read mode as default.
Definition: adxl367.c:1018
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
uint8_t device_id
Definition: no_os_uart.h:112
int32_t spi_engine_offload_transfer(struct no_os_spi_desc *desc, struct spi_engine_offload_message msg, uint32_t no_samples)
Initiate a SPI transfer in offload mode.
Definition: spi_engine.c:809
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:26
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:30
struct no_os_spi_desc * spi_common_dev
Definition: ad713x.h:743
bool dclkmode_free_ngated
Definition: ad713x.h:727
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:27
AD7124 header file. Devices: AD7124-4, AD7124-8.
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
Header file of GPIO Interface.
@ ADXL367_OLDEST_SAVED
Definition: adxl367.h:338
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:25
Header file of UART interface.
#define GPIO_MODE_1
Definition: parameters.h:58
struct no_os_gpio_init_param * gpio_resetn
Definition: ad713x.h:719
int32_t no_os_spi_init(struct no_os_spi_desc **desc, const struct no_os_spi_init_param *param)
Initialize the SPI communication peripheral.
Definition: no_os_spi.c:52
int ad74413r_gpo_get(struct ad74413r_desc *desc, uint32_t ch, uint8_t *val)
Get the GPO value for a specific channel.
Definition: ad74413r.c:955
int adxl355_init(struct adxl355_dev **device, struct adxl355_init_param init_param)
Initializes the communication peripheral and checks if the ADXL355 part is present.
Definition: adxl355.c:137
@ DMA_LAST
Definition: axi_dmac.h:92
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:32
uint32_t base_addr
Definition: axi_pwm_extra.h:52
int ad74413r_set_adc_channel_enable(struct ad74413r_desc *desc, uint32_t ch, bool status)
Enable/disable a specific ADC channel.
Definition: ad74413r.c:475
Header file of utility functions.
#define GPIO_PDN_2
Definition: parameters.h:57
#define TIMER0_TIMER0_OUT_PORTP0_MUX
Definition: pinmux_config.c:31
int adxl367_set_power_mode(struct adxl367_dev *dev, enum adxl367_op_mode mode)
Places the device into standby/measure mode.
Definition: adxl367.c:433
int adxl355_set_op_mode(struct adxl355_dev *dev, enum adxl355_op_mode op_mode)
Places the device into the given operation mode.
Definition: adxl355.c:252
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
#define SPI0_CS_2_PORTP2_MUX
Definition: pinmux_config.c:30
void * extra
Definition: no_os_spi.h:158
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
uint32_t rx_addr
Definition: spi_engine.h:171
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
int adt7420_reg_write(struct adt7420_dev *dev, uint16_t register_address, uint32_t data)
Sets the value of a register SPI/I2C.
Definition: adt7420.c:178
#define ADT7420_16BIT_SIGN
Definition: adt7420.h:97
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:27
int32_t ad713x_init(struct ad713x_dev **device, struct ad713x_init_param *init_param)
Initialize the device.
Definition: ad713x.c:551
struct iio_app_device * devices
Definition: iio_app.h:107
@ AD7124_Status
Definition: ad7124.h:417
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
#define ADC0_IN_ADC0_IN4_PORTP2_MUX
Definition: pinmux_config.c:40
#define READ(no_bytes)
Definition: spi_engine.h:62
@ AD74413R_GPO_CONFIG_COMP
Definition: ad74413r.h:234
struct ad719x_init_param ad7190_dev_ip
Definition: common_data.c:64
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:28
bool mode_master_nslave
Definition: ad713x.h:725
uint32_t nb_devices
Definition: iio_app.h:109
int32_t fractional
Definition: adxl355.h:279
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
uint8_t VI_ERR_C
Definition: ad74413r.h:324
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197
#define ADT7420_13BIT_SIGN
Definition: adt7420.h:100
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
Header file of ADT7420 Driver.
#define GPIO_CS_SYNC_1
Definition: parameters.h:73