no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include "common_data.h"
41 #include "no_os_util.h"
42 #include "pico_uart.h"
43 
44 /******************************************************************************/
45 /********************** Macros and Constants Definitions **********************/
46 /******************************************************************************/
47 /* This value can be modified based on the number
48 of samples needed to be stored in the device buffer
49 and based on the available RAM memory of the platform */
50 #define SAMPLES_PER_CHANNEL_PLATFORM 2000
51 
52 #define UART_DEVICE_ID 0
53 #define UART_BAUDRATE 115200
54 #define UART_IRQ_ID 20
55 #define UART_EXTRA &iio_demo_uart_extra_ip
56 #define UART_OPS &pico_uart_ops
57 
58 #define UART_TX_PIN UART0_TX_GP0
59 #define UART_RX_PIN UART0_RX_GP1
60 
62 
63 #endif /* __PARAMETERS_H__ */
pico_uart.h
Header file of UART driver for pico.
iio_demo_uart_extra_ip
struct max_uart_init_param iio_demo_uart_extra_ip
Definition: parameters.c:42
no_os_util.h
Header file of utility functions.
pico_uart_init_param
Additional UART config parameters.
Definition: pico_uart.h:90