Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
40 #include "common_data.h"
55 #define SAMPLES_PER_CHANNEL_PLATFORM 2000
57 #define UART_DEVICE_ID 0
58 #define UART_BAUDRATE 115200
59 #define UART_IRQ_ID 20
60 #define UART_EXTRA &adxrs290_uart_extra_ip
61 #define UART_OPS &pico_uart_ops
63 #define UART_TX_PIN UART0_TX_GP0
64 #define UART_RX_PIN UART0_RX_GP1
67 #define SPI_DEVICE_ID 0
68 #define SPI_BAUDRATE 1000000
69 #define SPI_CS SPI0_CS_GP17
70 #define SPI_OPS &pico_spi_ops
71 #define SPI_EXTRA &adxrs290_spi_extra_ip
76 #define GPIO_SYNC_PIN_NUM 20
77 #define GPIO_SYNC_PORT_NUM 0
78 #define GPIO_OPS &pico_gpio_ops
79 #define GPIO_EXTRA NULL
82 #ifdef IIO_TRIGGER_EXAMPLE
83 #define GPIO_IRQ_ID GPIO_SYNC_PIN_NUM
84 #define GPIO_IRQ_OPS &pico_gpio_irq_ops
85 #define GPIO_IRQ_EXTRA NULL
87 #define ADXRS290_GPIO_TRIG_IRQ_ID GPIO_SYNC_PIN_NUM
88 #define ADXRS290_GPIO_CB_HANDLE NULL
92 #ifdef IIO_TIMER_TRIGGER_EXAMPLE
93 #define ADXRS290_TIMER_DEVICE_ID 0
94 #define ADXRS290_TIMER_FREQ_HZ 1000000
95 #define ADXRS290_TIMER_TICKS_COUNT 1000
96 #define ADXRS290_TIMER_EXTRA NULL
97 #define TIMER_OPS &pico_timer_ops
100 #define ADXRS290_TIMER_IRQ_ID 0
101 #define TIMER_IRQ_OPS &pico_irq_ops
102 #define ADADXRS290_TIMER_IRQ_EXTRA NULL
106 #define ADXRS290_TIMER_CB_HANDLE &adxrs290_timer_extra_ip
107 #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:119
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:90