Go to the documentation of this file.
40 #ifndef __PARAMETERS_H__
41 #define __PARAMETERS_H__
46 #include "common_data.h"
61 #define SAMPLES_PER_CHANNEL_PLATFORM 2000
63 #define UART_DEVICE_ID 0
64 #define UART_BAUDRATE 115200
65 #define UART_IRQ_ID 20
66 #define UART_EXTRA &adxrs290_uart_extra_ip
67 #define UART_OPS &pico_uart_ops
69 #define UART_TX_PIN UART0_TX_GP0
70 #define UART_RX_PIN UART0_RX_GP1
73 #define SPI_DEVICE_ID 0
74 #define SPI_BAUDRATE 1000000
75 #define SPI_CS SPI0_CS_GP17
76 #define SPI_OPS &pico_spi_ops
77 #define SPI_EXTRA &adxrs290_spi_extra_ip
82 #define GPIO_SYNC_PIN_NUM 20
83 #define GPIO_SYNC_PORT_NUM 0
84 #define GPIO_OPS &pico_gpio_ops
85 #define GPIO_EXTRA NULL
88 #ifdef IIO_TRIGGER_EXAMPLE
89 #define GPIO_IRQ_ID GPIO_SYNC_PIN_NUM
90 #define GPIO_IRQ_OPS &pico_gpio_irq_ops
91 #define GPIO_IRQ_EXTRA NULL
93 #define ADXRS290_GPIO_TRIG_IRQ_ID GPIO_SYNC_PIN_NUM
94 #define ADXRS290_GPIO_CB_HANDLE NULL
98 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
99 #define ADXRS290_TIMER_DEVICE_ID 0
100 #define ADXRS290_TIMER_FREQ_HZ 1000000
101 #define ADXRS290_TIMER_TICKS_COUNT 1000
102 #define ADXRS290_TIMER_EXTRA NULL
103 #define TIMER_OPS &pico_timer_ops
106 #define ADXRS290_TIMER_IRQ_ID 0
107 #define TIMER_IRQ_OPS &pico_irq_ops
108 #define ADADXRS290_TIMER_IRQ_EXTRA NULL
112 #define ADXRS290_TIMER_CB_HANDLE &adxrs290_timer_extra_ip
113 #define ADXRS290_TIMER_TRIG_IRQ_ID 0
Header file of UART driver for pico.
Header file for the pico spi driver.
Additional SPI config parameters.
Definition: pico_spi.h:125
Header file for the pico timer driver.
Header file for pico gpio irq specifics.
Header file for pico irq specifics.
Header file for pico gpio specifics.
Header file of utility functions.
Additional UART config parameters.
Definition: pico_uart.h:96