no-OS
dummy_example.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __DUMMY_EXAMPLE_H__
34 #define __DUMMY_EXAMPLE_H__
35 
36 /******************************************************************************/
37 /***************************** Include Files **********************************/
38 /******************************************************************************/
39 
40 /******************************************************************************/
41 /************************ Functions Declarations ******************************/
42 /******************************************************************************/
43 int dummy_example_main();
44 
45 #endif /* __DUMMY_EXAMPLE_H__ */
adt7420_remove
int32_t adt7420_remove(struct adt7420_dev *dev)
Free the resources allocated by adt7420_init().
Definition: adt7420.c:264
spi_engine_offload_init_param::offload_config
uint8_t offload_config
Definition: spi_engine.h:151
SPI0_SCLK_PORTP0_MUX
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:25
dummy_example.h
DUMMY example header for eval-adxl367z project.
ad74413r_decimal::decimal
int32_t decimal
Definition: ad74413r.h:307
NO_OS_SPI_MODE_1
@ NO_OS_SPI_MODE_1
Definition: no_os_spi.h:63
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:34
SPI0_SCLK_PORTP0_MUX
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:26
GPIO_DCLKMODE
#define GPIO_DCLKMODE
Definition: parameters.h:71
adt7420_init
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
ad713x_init_param::gpio_dclkmode
struct no_os_gpio_init_param * gpio_dclkmode
Definition: ad713x.h:715
iio_app_init_param
IIO application descriptor initialization parameters.
Definition: iio_app.h:101
ADT7420_13BIT_DIV
#define ADT7420_13BIT_DIV
Definition: adt7420.h:101
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:27
timeout
uint32_t timeout
Definition: ad413x.c:49
adxl355_get_temp
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
no_os_gpio_init_param
Structure holding the parameters for GPIO initialization.
Definition: no_os_gpio.h:79
spi_engine_offload_message::no_commands
uint32_t no_commands
Definition: spi_engine.h:165
adxl367_read_converted_fifo
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
no_os_pwm_init_param
Structure containing the init parameters needed by the PWM generator.
Definition: no_os_pwm.h:66
adxl367_temp_read_en
int adxl367_temp_read_en(struct adxl367_dev *dev, bool enable)
Enables temperature reading.
Definition: adxl367.c:665
SPI0_CS_1_PORTP1_MUX
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:29
ad713x.h
Header file for the ad713x Driver.
GPIO_DCLKIO_1
#define GPIO_DCLKIO_1
Definition: parameters.h:68
adxl355_get_fifo_data
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
ad74413r_clear_errors
int ad74413r_clear_errors(struct ad74413r_desc *desc)
Clear the ALERT_STATUS register.
Definition: ad74413r.c:333
AD713x_SPI_ENG_REF_CLK_FREQ_HZ
#define AD713x_SPI_ENG_REF_CLK_FREQ_HZ
Definition: parameters.h:49
I2C0_SDA0_PORTP0_MUX
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:26
iio_app_init_param::uart_init_params
struct no_os_uart_init_param uart_init_params
Definition: iio_app.h:115
IIO_APP_DEVICE
#define IIO_APP_DEVICE(_name, _dev, _dev_descriptor, _read_buff, _write_buff, _default_trigger_id)
Definition: iio_app.h:47
adxl367_fractional_val::integer
int64_t integer
Definition: adxl367.h:416
adxl355_set_odr_lpf
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
ADC0_IN_ADC0_IN6_PORTP2_MUX
#define ADC0_IN_ADC0_IN6_PORTP2_MUX
Definition: pinmux_config.c:42
GPIO_PS
@ GPIO_PS
Definition: xilinx_gpio.h:56
SPI_PS
@ SPI_PS
Definition: xilinx_spi.h:62
adxl355_sts_reg_flags
Definition: adxl355.h:260
ad713x_init_param::clk_delay_en
bool clk_delay_en
Definition: ad713x.h:740
iio_data_buffer::size
uint32_t size
Definition: iio_app.h:63
main
int main()
Definition: ad713x_fmc.c:76
ad7124_dev
Device Structure.
Definition: ad7124.h:481
GPIO_PDN_1
#define GPIO_PDN_1
Definition: parameters.h:56
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:25
UART_PL
@ UART_PL
Definition: xilinx_uart.h:57
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
AD74413R_CH_C
#define AD74413R_CH_C
Definition: ad74413r.h:46
_adxl355_sts_reg_flags::FIFO_FULL
uint8_t FIFO_FULL
Definition: adxl355.h:253
ad74413r_init_param
Initialization parameter for the device descriptor.
Definition: ad74413r.h:296
adi_initpinmux
int32_t adi_initpinmux(void)
Definition: pinmux_config.c:37
I2C0_SCL0_PORTP0_MUX
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:26
no_os_spi.h
Header file of SPI Interface.
ad74413r_init
int ad74413r_init(struct ad74413r_desc **desc, struct ad74413r_init_param *init_param)
Initialize the device structure.
Definition: ad74413r.c:1170
_adxl355_sts_reg_flags::FIFO_OVR
uint8_t FIFO_OVR
Definition: adxl355.h:254
TIMER0_TIMER0_OUT_PORTP0_MUX
#define TIMER0_TIMER0_OUT_PORTP0_MUX
Definition: pinmux_config.c:32
NO_OS_UART_STOP_1_BIT
@ NO_OS_UART_STOP_1_BIT
Definition: no_os_uart.h:94
no_os_irq.h
Header file of IRQ interface.
xil_uart_init_param::type
enum xil_uart_type type
Definition: xilinx_uart.h:69
ad713x_init_param::dev_id
enum ad713x_supported_dev_ids dev_id
Definition: ad713x.h:733
ID_AD7134
@ ID_AD7134
Definition: ad713x.h:572
adxl355_get_sts_reg
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
SPI0_CS_1_PORTP1_MUX
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:28
spi_engine_offload_init
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
@ ADXL367_FIFO_FORMAT_XYZT
Definition: adxl367.h:357
GPIO_MODE_2
#define GPIO_MODE_2
Definition: parameters.h:59
ad74413r_set_threshold
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
iio_app.h
Header file of iio_app.
dummy_example.h
DUMMY example header for ad719x project.
adt7420_get_temperature
float adt7420_get_temperature(struct adt7420_dev *dev)
Reads the temperature data and converts it to Celsius degrees.
Definition: adt7420.c:370
clk_axi_clkgen.h
Driver for the Analog Devices AXI CLKGEN.
AD7134_2_SPI_CS
#define AD7134_2_SPI_CS
Definition: parameters.h:51
DMA_PARTIAL_REPORTING_EN
@ DMA_PARTIAL_REPORTING_EN
Definition: axi_dmac.h:93
xilinx_uart.h
iio_app_desc
IIO application descriptor.
Definition: iio_app.h:80
QUAD_CH_PO
@ QUAD_CH_PO
Definition: ad713x.h:626
ad713x_init_param
AD713x driver initialization structure.
Definition: ad713x.h:709
spi_engine_offload_message::commands_data
uint32_t * commands_data
Definition: spi_engine.h:167
iio_data_buffer::buff
void * buff
Definition: iio_app.h:64
no_os_pwm_init_param::period_ns
uint32_t period_ns
Definition: no_os_pwm.h:70
no_os_delay.h
Header file of Delay functions.
SPI1_SCLK_PORTP1_MUX
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
xil_gpio_ops
const struct no_os_gpio_platform_ops xil_gpio_ops
Xilinx platform specific GPIO platform ops structure.
Definition: xilinx_gpio.c:450
SPI0_MOSI_PORTP0_MUX
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:26
SPI0_CS_3_PORTP2_MUX
#define SPI0_CS_3_PORTP2_MUX
Definition: pinmux_config.c:31
AD74413R_CH_D
#define AD74413R_CH_D
Definition: ad74413r.h:47
ADC_24_BIT_DATA
@ ADC_24_BIT_DATA
Definition: ad713x.h:596
adt7420_dev::resolution_setting
uint8_t resolution_setting
Definition: adt7420.h:147
axi_clkgen_init
Definition: clk_axi_clkgen.h:50
ad74413r_decimal
ADC value format.
Definition: ad74413r.h:305
I2C0_SDA0_PORTP0_MUX
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:26
ad74413r_get_live
int ad74413r_get_live(struct ad74413r_desc *desc, union ad74413r_live_status *status)
Read the live status bits.
Definition: ad74413r.c:1068
ad713x_init_param::crc_header
enum ad713x_crc_header crc_header
Definition: ad713x.h:737
pr_info
#define pr_info(fmt, args...)
Definition: no_os_print_log.h:115
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:31
axi_clkgen_set_rate
int32_t axi_clkgen_set_rate(struct axi_clkgen *clkgen, uint32_t rate)
axi_clkgen_set_rate
Definition: clk_axi_clkgen.c:414
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
GPIO_RESETN_2
#define GPIO_RESETN_2
Definition: parameters.h:55
GPIO_RESETN_1
#define GPIO_RESETN_1
Definition: parameters.h:77
SPI0_MISO_PORTP0_MUX
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:27
no_os_spi_init_param::mode
enum no_os_spi_mode mode
Definition: no_os_spi.h:148
ad719x_init
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
ADT7420_REG_T_HIGH_LSB
#define ADT7420_REG_T_HIGH_LSB
Definition: adt7420.h:76
ad713x_init_param::pnd
bool pnd
Definition: ad713x.h:731
ad74413r_get_temp
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
ADT7420_16BIT_NEG
#define ADT7420_16BIT_NEG
Definition: adt7420.h:96
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:29
spi_engine_offload_message
Structure representing an offload message.
Definition: spi_engine.h:158
adt7420_reset
int32_t adt7420_reset(struct adt7420_dev *dev)
Resets the SPI or I2C inteface for the ADT7420/ADT7320.
Definition: adt7420.c:340
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:27
SPI0_SCLK_PORTP0_MUX
#define SPI0_SCLK_PORTP0_MUX
Definition: pinmux_config.c:25
ad713x_init_param::dclkio_out_nin
bool dclkio_out_nin
Definition: ad713x.h:729
AD7134_FMC_SAMPLE_NO
#define AD7134_FMC_SAMPLE_NO
Definition: parameters.h:75
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
UART_PS
@ UART_PS
Definition: xilinx_uart.h:59
adxl355.h
Header file of ADXL355 Driver.
AD7134_DMA_BASEADDR
#define AD7134_DMA_BASEADDR
Definition: parameters.h:47
no_os_gpio_init_param::number
int32_t number
Definition: no_os_gpio.h:83
no_os_print_log.h
Print messages helpers.
adxl355_soft_reset
int adxl355_soft_reset(struct adxl355_dev *dev)
Performs a soft reset of the device.
Definition: adxl355.c:294
ad7124_registers
ad7124_registers
Definition: ad7124.h:416
adxl367_dev
ADXL367 Device structure.
Definition: adxl367.h:424
xil_gpio_init_param::device_id
uint32_t device_id
Definition: xilinx_gpio.h:68
TIMER2_TIMER2_OUT_PORTP2_MUX
#define TIMER2_TIMER2_OUT_PORTP2_MUX
Definition: pinmux_config.c:34
axi_clkgen_init
int32_t axi_clkgen_init(struct axi_clkgen **clk, const struct axi_clkgen_init *init)
axi_clkgen_init
Definition: clk_axi_clkgen.c:520
ADC_BUFFER_SIZE
#define ADC_BUFFER_SIZE
Definition: parameters.h:77
axi_clkgen
Definition: clk_axi_clkgen.h:44
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
AD7134_FMC_CH_NO
#define AD7134_FMC_CH_NO
Definition: parameters.h:74
ad713x_init_param::gpio_pnd
struct no_os_gpio_init_param * gpio_pnd
Definition: ad713x.h:721
NO_OS_ARRAY_SIZE
#define NO_OS_ARRAY_SIZE(x)
Definition: no_os_util.h:49
ADC0_IN_ADC_CONVERT_PORTP1_MUX
#define ADC0_IN_ADC_CONVERT_PORTP1_MUX
Definition: pinmux_config.c:35
_adxl355_sts_reg_flags::Activity
uint8_t Activity
Definition: adxl355.h:255
ad713x_init_param::adc_data_len
enum ad713x_adc_data_len adc_data_len
Definition: ad713x.h:735
adxl367_set_output_rate
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
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:28
adxl367_fractional_val::fractional
int32_t fractional
Definition: adxl367.h:417
ad74413r_live_status
Used to store the live status bit fields.
Definition: ad74413r.h:341
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:25
SPI1_MOSI_PORTP1_MUX
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
no_os_spi_init_param::platform_ops
const struct no_os_spi_platform_ops * platform_ops
Definition: no_os_spi.h:154
AD74413R_VOLTAGE_OUT
@ AD74413R_VOLTAGE_OUT
Definition: ad74413r.h:195
ad7124_read_data
int32_t ad7124_read_data(struct ad7124_dev *dev, int32_t *p_data)
Reads the conversion result from the device.
Definition: ad7124.c:396
SPI1_SCLK_PORTP1_MUX
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
adxl355_frac_repr::integer
int64_t integer
Definition: adxl355.h:278
SPI0_CS_1_PORTP1_MUX
#define SPI0_CS_1_PORTP1_MUX
Definition: pinmux_config.c:29
ad719x_temperature_read
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
_ad74413r_live_status::VI_ERR_A
uint8_t VI_ERR_A
Definition: ad74413r.h:322
SPI0_RDY_PORTP1_MUX
#define SPI0_RDY_PORTP1_MUX
Definition: pinmux_config.c:32
spi_eng_init_param
struct spi_engine_init_param spi_eng_init_param
Definition: parameters.c:55
ad74413r_remove
int ad74413r_remove(struct ad74413r_desc *desc)
Free the device descriptor.
Definition: ad74413r.c:1227
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:31
NO_OS_SPI_MODE_3
@ NO_OS_SPI_MODE_3
Definition: no_os_spi.h:67
axi_pwm_ops
const struct no_os_pwm_platform_ops axi_pwm_ops
AXI platform specific PWM platform ops structure.
Definition: axi_pwm.c:406
no_os_spi_init_param::device_id
uint32_t device_id
Definition: no_os_spi.h:142
I2C0_SDA0_PORTP0_MUX
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:31
adxl355_dev
ADXL355 Device structure.
Definition: adxl355.h:293
dummy_example.h
DUMMY example header for ad74413r project.
ADC0_IN_ADC0_IN7_PORTP2_MUX
#define ADC0_IN_ADC0_IN7_PORTP2_MUX
Definition: pinmux_config.c:43
SPI1_SCLK_PORTP1_MUX
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
ad74413r_set_diag
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
AD7134_1_SPI_CS
#define AD7134_1_SPI_CS
Definition: parameters.h:50
no_os_spi_init_param::chip_select
uint8_t chip_select
Definition: no_os_spi.h:146
no_os_mdelay
void no_os_mdelay(uint32_t msecs)
Wait until msecs milliseconds passed.
Definition: aducm3029_delay.c:126
ad7124_read_register
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
spi_engine_init_param::type
enum xil_spi_type type
Definition: spi_engine.h:87
ad713x_dev::spi_desc
struct no_os_spi_desc * spi_desc
Definition: ad713x.h:682
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:26
iio.h
Header file of iio.
no_os_error.h
Error codes definition.
SPI1_CS_0_PORTP1_MUX
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
adxl367_init
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
SPI0_CS_0_PORTP0_MUX
#define SPI0_CS_0_PORTP0_MUX
Definition: pinmux_config.c:28
ADC0_IN_ADC0_IN3_PORTP2_MUX
#define ADC0_IN_ADC0_IN3_PORTP2_MUX
Definition: pinmux_config.c:39
ad713x_remove
int32_t ad713x_remove(struct ad713x_dev *dev)
Free the resources allocated by ad713x_init().
Definition: ad713x.c:638
iio_app_device
Definition: iio_app.h:67
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:34
ADT7420_16BIT_DIV
#define ADT7420_16BIT_DIV
Definition: adt7420.h:98
ad74413r_decimal::integer
int64_t integer
Definition: ad74413r.h:306
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:33
_adxl355_sts_reg_flags::DATA_RDY
uint8_t DATA_RDY
Definition: adxl355.h:252
spi_engine.h
I2C0_SCL0_PORTP0_MUX
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:25
SPI1_MISO_PORTP1_MUX
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
ADC0_IN_ADC0_IN5_PORTP2_MUX
#define ADC0_IN_ADC0_IN5_PORTP2_MUX
Definition: pinmux_config.c:41
ADT7420_REG_T_LOW_MSB
#define ADT7420_REG_T_LOW_MSB
Definition: adt7420.h:77
axi_clkgen_init::base
uint32_t base
Definition: clk_axi_clkgen.h:52
adxl355_get_xyz
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
SPI1_MISO_PORTP1_MUX
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
SPI0_MOSI_PORTP0_MUX
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:26
ad719x_continuous_read_avg
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
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
ad713x_channel_sync
int32_t ad713x_channel_sync(struct ad713x_dev *dev)
Multidevice synchronization between channels on different devices.
Definition: ad713x.c:305
ADXL367_OP_MEASURE
@ ADXL367_OP_MEASURE
Definition: adxl367.h:306
ADC0_IN_ADC0_IN0_PORTP2_MUX
#define ADC0_IN_ADC0_IN0_PORTP2_MUX
Definition: pinmux_config.c:36
axi_dmac.h
Driver for the Analog Devices AXI-DMAC core.
iio_data_buffer
Definition: iio_app.h:62
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:29
adt7420_user_init
struct adt7420_init_param adt7420_user_init
Definition: common_data.c:63
ADT7420_REG_HIST
#define ADT7420_REG_HIST
Definition: adt7420.h:81
UART_IRQ_ID
#define UART_IRQ_ID
Definition: parameters.h:50
ad74413r_desc
AD74413r device descriptor.
Definition: ad74413r.h:349
adxl367_self_test
int adxl367_self_test(struct adxl367_dev *dev)
Performs self test.
Definition: adxl367.c:159
_ad74413r_live_status::VI_ERR_D
uint8_t VI_ERR_D
Definition: ad74413r.h:325
ADT7420_13BIT_NEG
#define ADT7420_13BIT_NEG
Definition: adt7420.h:99
ADC0_IN_ADC0_IN1_PORTP2_MUX
#define ADC0_IN_ADC0_IN1_PORTP2_MUX
Definition: pinmux_config.c:37
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:35
ad7124_init_param::spi_init
struct no_os_spi_init_param * spi_init
Definition: ad7124.h:504
GPIO_DEVICE_ID
#define GPIO_DEVICE_ID
Definition: parameters.h:87
CRC_6
@ CRC_6
Definition: ad713x.h:611
ad713x_init_param::spi_init_prm
struct no_os_spi_init_param spi_init_prm
Definition: ad713x.h:711
SPI1_MOSI_PORTP1_MUX
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
spi_engine_offload_message::tx_addr
uint32_t tx_addr
Definition: spi_engine.h:169
SPI1_CS_0_PORTP1_MUX
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
UART_BAUDRATE
#define UART_BAUDRATE
Definition: parameters.h:53
no_os_spi_desc
Structure holding SPI descriptor.
Definition: no_os_spi.h:192
GPIO_CS_SYNC
#define GPIO_CS_SYNC
Definition: parameters.h:72
xilinx_gpio.h
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:30
ad713x_init_param::gpio_dclkio
struct no_os_gpio_init_param * gpio_dclkio
Definition: ad713x.h:717
ad74413r.h
Header file of AD74413r Driver.
AD74413R_DIGITAL_INPUT
@ AD74413R_DIGITAL_INPUT
Definition: ad74413r.h:201
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
ad74413r_live_status::status_bits
struct _ad74413r_live_status status_bits
Definition: ad74413r.h:342
iio_ad713x.h
Header file of iio_axi_adc.
xil_uart_init_param
Structure holding the initialization parameters for Xilinx platform specific UART parameters.
Definition: xilinx_uart.h:67
spi_init
struct no_os_spi_init_param spi_init
Definition: common_data.c:120
ad74413r_set_gpo_config
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
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:28
xil_spi_init_param::type
enum xil_spi_type type
Definition: xilinx_spi.h:74
ADC0_IN_ADC0_IN2_PORTP2_MUX
#define ADC0_IN_ADC0_IN2_PORTP2_MUX
Definition: pinmux_config.c:38
ad7124_init_param
Definition: ad7124.h:502
ad713x_init_param::gpio_mode
struct no_os_gpio_init_param * gpio_mode
Definition: ad713x.h:713
AD74412R
@ AD74412R
Definition: ad74413r.h:176
ad7124_regs
struct ad7124_st_reg ad7124_regs[AD7124_REG_NO]
Definition: ad7124_regs.c:37
xilinx_irq.h
iio_app_run
int iio_app_run(struct iio_app_desc *app)
spi_engine_offload_message::commands
uint32_t * commands
Definition: spi_engine.h:163
spi_engine_offload_init_param::rx_dma_baseaddr
uint32_t rx_dma_baseaddr
Definition: spi_engine.h:145
no_os_pwm_desc
Structure representing an PWM generator device.
Definition: no_os_pwm.h:93
adxl367_fractional_val
Data format in which the values are converted.
Definition: adxl367.h:415
ADT7420_REG_T_LOW_LSB
#define ADT7420_REG_T_LOW_LSB
Definition: adt7420.h:78
axi_pwm_init_param
Structure holding the initialization parameters for axi PWM.
Definition: axi_pwm_extra.h:50
SPI_ENGINE
@ SPI_ENGINE
Definition: xilinx_spi.h:64
no_os_pwm_init
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
AD74413R_CH_A
#define AD74413R_CH_A
Definition: ad74413r.h:44
UART0_UART_SOUT_EN_PORTP0_MUX
#define UART0_UART_SOUT_EN_PORTP0_MUX
Definition: pinmux_config.c:29
xil_spi_init_param
Structure holding the initialization parameters for Xilinx platform specific SPI parameters when usin...
Definition: xilinx_spi.h:72
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:33
ad713x_init_param::gpio_cs_sync
struct no_os_gpio_init_param * gpio_cs_sync
Definition: ad713x.h:723
adxl355_sts_reg_flags::fields
struct _adxl355_sts_reg_flags fields
Definition: adxl355.h:261
adxl355_frac_repr
Definition: adxl355.h:277
iio_app_init
int iio_app_init(struct iio_app_desc **app, struct iio_app_init_param app_init_param)
main
int main(void)
Definition: ad7124-4sdz.c:41
ad7124_wait_for_conv_ready
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
AD74413R_CH_B
#define AD74413R_CH_B
Definition: ad74413r.h:45
no_os_spi_init_param::max_speed_hz
uint32_t max_speed_hz
Definition: no_os_spi.h:144
ad7124_setup
int32_t ad7124_setup(struct ad7124_dev **device, struct ad7124_init_param *init_param)
Initializes the AD7124.
Definition: ad7124.c:990
no_os_pwm.h
Header file of PWM Interface.
OFFLOAD_RX_EN
#define OFFLOAD_RX_EN
Definition: spi_engine.h:53
ADT7420_REG_T_HIGH_MSB
#define ADT7420_REG_T_HIGH_MSB
Definition: adt7420.h:75
ad74413r_adc_get_value
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
SPI1_MISO_PORTP1_MUX
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
AD7124_REG_NO
@ AD7124_REG_NO
Definition: ad7124.h:474
ad74413r_set_channel_function
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
I2C0_SDA0_PORTP0_MUX
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:27
ADXL355_ODR_3_906HZ
@ ADXL355_ODR_3_906HZ
Definition: adxl355.h:198
AD74413R_CURRENT_IN_EXT
@ AD74413R_CURRENT_IN_EXT
Definition: ad74413r.h:198
SPI0_MISO_PORTP0_MUX
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:27
TIMER1_TIMER1_OUT_PORTP1_MUX
#define TIMER1_TIMER1_OUT_PORTP1_MUX
Definition: pinmux_config.c:33
adxl367.h
Header file of ADXL367 Driver.
xil_uart_ops
const struct no_os_uart_platform_ops xil_uart_ops
Xilinx platform specific UART platform ops structure.
Definition: xilinx_uart.c:520
spi_engine_offload_init_param::dma_flags
uint32_t dma_flags
Definition: spi_engine.h:149
dummy_example_main
int dummy_example_main()
Dummy example main execution.
Definition: dummy_example.c:53
_adxl355_sts_reg_flags::NVM_BUSY
uint8_t NVM_BUSY
Definition: adxl355.h:256
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:29
GPIO_DCLKIO_2
#define GPIO_DCLKIO_2
Definition: parameters.h:69
ADXL355_MEAS_TEMP_ON_DRDY_OFF
@ ADXL355_MEAS_TEMP_ON_DRDY_OFF
Definition: adxl355.h:166
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:24
ad74413r_set_channel_dac_code
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
ad74413r_dac_voltage_to_code
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
NULL
#define NULL
Definition: wrapper.h:64
no_os_uart_init_param
Structure holding the parameters for UART initialization.
Definition: no_os_uart.h:110
AD74413R_DIAG_TEMP
@ AD74413R_DIAG_TEMP
Definition: ad74413r.h:243
ad713x_dev
AD713x driver handler structure.
Definition: ad713x.h:680
ad74413r_init_param::chip_id
enum ad74413r_chip_id chip_id
Definition: ad74413r.h:297
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:29
xil_spi_ops
const struct no_os_spi_platform_ops xil_spi_ops
Spi engine platform specific SPI platform ops structure.
Definition: xilinx_spi.c:453
SPI_DEVICE_ID
#define SPI_DEVICE_ID
Definition: parameters.h:69
dummy_example.h
DUMMY example header for adt7420-pmdz project.
dummy_example_main
int dummy_example_main()
Dummy example main execution.
Definition: dummy_example.c:53
spi_engine_init_param
Structure containing the init parameters needed by the SPI engine.
Definition: spi_engine.h:83
AD7134_SPI_ENGINE_BASEADDR
#define AD7134_SPI_ENGINE_BASEADDR
Definition: parameters.h:48
ad74413r_set_diag_channel_enable
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.h
DUMMY example header for eval-adxl355-pmdz project.
adt7420_reg_read
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
init_param
struct ad7616_init_param init_param
Definition: ad7616_sdz.c:113
SPI0_MISO_PORTP0_MUX
#define SPI0_MISO_PORTP0_MUX
Definition: pinmux_config.c:28
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:24
iio_device
Structure holding channels and attributes of a device.
Definition: iio_types.h:247
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
NO_OS_UART_PAR_NO
@ NO_OS_UART_PAR_NO
Definition: no_os_uart.h:77
adt7420_dev
Definition: adt7420.h:139
spi_eng_platform_ops
const struct no_os_spi_platform_ops spi_eng_platform_ops
Spi engine platform specific SPI platform ops structure.
Definition: spi_engine.c:61
ad713x_init_param::format
enum ad713x_doutx_format format
Definition: ad713x.h:738
SPI1_CS_0_PORTP1_MUX
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:28
ad719x_convert_to_volts
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
_ad74413r_live_status::VI_ERR_B
uint8_t VI_ERR_B
Definition: ad74413r.h:323
ADXL367_ODR_200HZ
@ ADXL367_ODR_200HZ
Definition: adxl367.h:328
adxl367_fifo_setup
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
SPI1_MISO_PORTP1_MUX
#define SPI1_MISO_PORTP1_MUX
Definition: pinmux_config.c:26
no_os_uart_init_param::device_id
uint8_t device_id
Definition: no_os_uart.h:112
spi_engine_offload_transfer
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
I2C0_SCL0_PORTP0_MUX
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:26
UART0_RX_PORTP0_MUX
#define UART0_RX_PORTP0_MUX
Definition: pinmux_config.c:30
xil_gpio_init_param
Structure holding the initialization parameters for Xilinx platform specific GPIO parameters.
Definition: xilinx_gpio.h:64
I2C0_SCL0_PORTP0_MUX
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:30
ad713x_init_param::spi_common_dev
struct no_os_spi_desc * spi_common_dev
Definition: ad713x.h:743
ad713x_init_param::dclkmode_free_ngated
bool dclkmode_free_ngated
Definition: ad713x.h:727
I2C0_SDA0_PORTP0_MUX
#define I2C0_SDA0_PORTP0_MUX
Definition: pinmux_config.c:27
ad7124.h
AD7124 header file. Devices: AD7124-4, AD7124-8.
spi_engine_offload_init_param
Structure containing the init parameters needed by the offload module.
Definition: spi_engine.h:143
no_os_gpio.h
Header file of GPIO Interface.
ADXL367_OLDEST_SAVED
@ ADXL367_OLDEST_SAVED
Definition: adxl367.h:338
I2C0_SCL0_PORTP0_MUX
#define I2C0_SCL0_PORTP0_MUX
Definition: pinmux_config.c:25
gpio_extra_param
struct xil_gpio_init_param gpio_extra_param
Definition: parameters.c:63
no_os_uart.h
Header file of UART interface.
GPIO_MODE_1
#define GPIO_MODE_1
Definition: parameters.h:58
ad713x_init_param::gpio_resetn
struct no_os_gpio_init_param * gpio_resetn
Definition: ad713x.h:719
no_os_spi_init
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
ad74413r_gpo_get
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
UART_DEVICE_ID
#define UART_DEVICE_ID
Definition: parameters.h:52
adxl355_init
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
@ DMA_LAST
Definition: axi_dmac.h:92
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:32
axi_pwm_init_param::base_addr
uint32_t base_addr
Definition: axi_pwm_extra.h:52
ad74413r_set_adc_channel_enable
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
no_os_util.h
Header file of utility functions.
iio_dual_ad713x.h
GPIO_PDN_2
#define GPIO_PDN_2
Definition: parameters.h:57
TIMER0_TIMER0_OUT_PORTP0_MUX
#define TIMER0_TIMER0_OUT_PORTP0_MUX
Definition: pinmux_config.c:31
adxl367_set_power_mode
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
adxl355_set_op_mode
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
iio_uart_ip
struct no_os_uart_init_param iio_uart_ip
Definition: common_data.c:46
ad74413r_spi_ip
struct no_os_spi_init_param ad74413r_spi_ip
Definition: common_data.c:54
SPI0_CS_2_PORTP2_MUX
#define SPI0_CS_2_PORTP2_MUX
Definition: pinmux_config.c:30
no_os_spi_init_param::extra
void * extra
Definition: no_os_spi.h:158
NO_OS_SPI_MODE_0
@ NO_OS_SPI_MODE_0
Definition: no_os_spi.h:61
spi_engine_offload_message::rx_addr
uint32_t rx_addr
Definition: spi_engine.h:171
xilinx_spi.h
SPI1_CS_0_PORTP1_MUX
#define SPI1_CS_0_PORTP1_MUX
Definition: pinmux_config.c:28
SPI1_SCLK_PORTP1_MUX
#define SPI1_SCLK_PORTP1_MUX
Definition: pinmux_config.c:25
adt7420_reg_write
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
ADT7420_16BIT_SIGN
#define ADT7420_16BIT_SIGN
Definition: adt7420.h:97
ad74413r_ip
struct ad74413r_init_param ad74413r_ip
Definition: common_data.c:92
NO_OS_UART_CS_8
@ NO_OS_UART_CS_8
Definition: no_os_uart.h:66
SPI0_MOSI_PORTP0_MUX
#define SPI0_MOSI_PORTP0_MUX
Definition: pinmux_config.c:27
ad713x_init
int32_t ad713x_init(struct ad713x_dev **device, struct ad713x_init_param *init_param)
Initialize the device.
Definition: ad713x.c:551
iio_app_init_param::devices
struct iio_app_device * devices
Definition: iio_app.h:107
AD7124_Status
@ AD7124_Status
Definition: ad7124.h:417
xil_gpio_init_param::type
enum xil_gpio_type type
Definition: xilinx_gpio.h:66
ADC0_IN_ADC0_IN4_PORTP2_MUX
#define ADC0_IN_ADC0_IN4_PORTP2_MUX
Definition: pinmux_config.c:40
READ
#define READ(no_bytes)
Definition: spi_engine.h:62
AD74413R_GPO_CONFIG_COMP
@ AD74413R_GPO_CONFIG_COMP
Definition: ad74413r.h:234
ad7190_dev_ip
struct ad719x_init_param ad7190_dev_ip
Definition: common_data.c:64
UART0_TX_PORTP0_MUX
#define UART0_TX_PORTP0_MUX
Definition: pinmux_config.c:28
ad713x_init_param::mode_master_nslave
bool mode_master_nslave
Definition: ad713x.h:725
iio_app_init_param::nb_devices
uint32_t nb_devices
Definition: iio_app.h:109
adxl355_frac_repr::fractional
int32_t fractional
Definition: adxl355.h:279
adxl355_ip
struct adxl355_init_param adxl355_ip
Definition: common_data.c:84
_ad74413r_live_status::VI_ERR_C
uint8_t VI_ERR_C
Definition: ad74413r.h:324
SPI1_MOSI_PORTP1_MUX
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
AD74413R_VOLTAGE_IN
@ AD74413R_VOLTAGE_IN
Definition: ad74413r.h:197
ad719x_dev
Definition: ad719x.h:189
ADT7420_13BIT_SIGN
#define ADT7420_13BIT_SIGN
Definition: adt7420.h:100
parameters.h
Parameters Definitions.
axi_pwm_extra.h
no_os_spi_init_param
Structure holding the parameters for SPI initialization.
Definition: no_os_spi.h:140
SPI1_MOSI_PORTP1_MUX
#define SPI1_MOSI_PORTP1_MUX
Definition: pinmux_config.c:27
adt7420.h
Header file of ADT7420 Driver.
GPIO_CS_SYNC_1
#define GPIO_CS_SYNC_1
Definition: parameters.h:73