no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
33 #ifndef __PARAMETERS_H__
34 #define __PARAMETERS_H__
35 
36 #include <PinNames.h>
37 #include "mbed_uart.h"
38 #include "mbed_spi.h"
39 #include "no_os_uart.h"
40 
41 #define UART_TX_PIN CONSOLE_TX
42 #define UART_RX_PIN CONSOLE_RX
43 #define UART_DEVICE_ID 5
44 #define UART_IRQ_ID 53
45 #define UART_BAUDRATE 115200
46 #define UART_EXTRA &adf4382_uart_extra_ip
47 #define UART_OPS &mbed_uart_ops
48 
49 #define SPI_BAUDRATE 4000000
50 #define SPI_OPS &mbed_spi_ops
51 #define SPI_EXTRA &adf4382_spi_extra
52 #define SPI_DEVICE_ID 5
53 #define SPI_CS SDP_SPI_CS_A
54 
57 
58 #endif /* __PARAMETERS_H__ */
mbed_uart.h
Header containing extra types required for UART interface.
adf4382_uart_extra_ip
struct mbed_uart_init_param adf4382_uart_extra_ip
Definition: parameters.c:36
adf4382_spi_extra
struct mbed_spi_init_param adf4382_spi_extra
mbed_spi_init_param
Structure holding the SPI init parameters for mbed platform.
Definition: mbed_spi.h:63
mbed_spi.h
Header containing extra types required for SPI interface.
mbed_uart_init_param
Structure holding the UART init parameters for mbed platform.
Definition: mbed_uart.h:63
no_os_uart.h
Header file of UART interface.