Go to the documentation of this file.
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
40 #include "common_data.h"
53 #define UART_DEVICE_ID 0
54 #define UART_BAUDRATE 115200
55 #define UART_IRQ_ID 20
56 #define UART_EXTRA &adxl355_uart_extra_ip
57 #define UART_OPS &pico_uart_ops
59 #define UART_TX_PIN UART0_TX_GP0
60 #define UART_RX_PIN UART0_RX_GP1
62 #define SPI_DEVICE_ID 0
63 #define SPI_BAUDRATE 1000000
64 #define SPI_CS SPI0_CS_GP17
65 #define SPI_OPS &pico_spi_ops
66 #define SPI_EXTRA &adxl355_spi_extra_ip
71 #define GPIO_DRDY_PIN_NUM 20
72 #define GPIO_DRDY_PORT_NUM 0
73 #define GPIO_OPS &pico_gpio_ops
74 #define GPIO_EXTRA NULL
76 #ifdef IIO_TRIGGER_EXAMPLE
77 #define ADXL355_GPIO_TRIG_IRQ_ID GPIO_DRDY_PIN_NUM
78 #define ADXL355_GPIO_CB_HANDLE NULL
80 #define GPIO_IRQ_ID GPIO_DRDY_PIN_NUM
81 #define GPIO_IRQ_OPS &pico_gpio_irq_ops
82 #define GPIO_IRQ_EXTRA NULL
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