no-OS
projects
iio_demo
src
platform
pico
parameters.h
Go to the documentation of this file.
1
/***************************************************************************/
40
#ifndef __PARAMETERS_H__
41
#define __PARAMETERS_H__
42
43
/******************************************************************************/
44
/***************************** Include Files **********************************/
45
/******************************************************************************/
46
#include "common_data.h"
47
#include "
no_os_util.h
"
48
#include "
pico_uart.h
"
49
50
/******************************************************************************/
51
/********************** Macros and Constants Definitions **********************/
52
/******************************************************************************/
53
/* This value can be modified based on the number
54
of samples needed to be stored in the device buffer
55
and based on the available RAM memory of the platform */
56
#define SAMPLES_PER_CHANNEL_PLATFORM 2000
57
58
#define UART_DEVICE_ID 0
59
#define UART_BAUDRATE 115200
60
#define UART_IRQ_ID 20
61
#define UART_EXTRA &iio_demo_uart_extra_ip
62
#define UART_OPS &pico_uart_ops
63
64
#define UART_TX_PIN UART0_TX_GP0
65
#define UART_RX_PIN UART0_RX_GP1
66
67
extern
struct
pico_uart_init_param
iio_demo_uart_extra_ip
;
68
69
#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:48
no_os_util.h
Header file of utility functions.
pico_uart_init_param
Additional UART config parameters.
Definition:
pico_uart.h:96
Generated by
1.8.17