no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parameters.h
Go to the documentation of this file.
1/***************************************************************************/
34#ifndef __PARAMETERS_H__
35#define __PARAMETERS_H__
36
37#include <PinNames.h>
38#include "mbed_uart.h"
39#include "mbed_spi.h"
40#include "no_os_uart.h"
41#include "mbed_gpio.h"
42#include "no_os_gpio.h"
43
44#define UART_TX_PIN CONSOLE_TX
45#define UART_RX_PIN CONSOLE_RX
46#define UART_DEVICE_ID 5
47#define UART_IRQ_ID 53
48#define UART_BAUDRATE 115200
49#define UART_EXTRA &adf4377_uart_extra_ip
50#define UART_OPS &mbed_uart_ops
51
52#define SPI_BAUDRATE 4000000
53#define SPI_OPS &mbed_spi_ops
54#define SPI_EXTRA &adf4377_spi_extra
55#define SPI_DEVICE_ID 5
56#define SPI_CS SDP_SPI_CS_A
57
58/* SDP GPIO Configuration */
59#define GPIO_OPS &mbed_gpio_ops
60#define GPIO_EXTRA &adf4377_gpio_ip
61// #define GPIO_SDP SDP_GPIO_0
62#define GPIO_LKDET SDP_GPIO_0
63#define GPIO_ENCLK1 SDP_GPIO_1
64#define GPIO_ENCLK2 SDP_GPIO_2
65#define GPIO_MUXOUT SDP_GPIO_4
66#define GPIO_CE SDP_GPIO_5
67
68
69
70
74
75#endif /* __PARAMETERS_H__ */
struct no_os_gpio_init_param adf4377_gpio_ip
Definition parameters.c:49
struct mbed_uart_init_param adf4377_uart_extra_ip
Definition parameters.c:37
struct mbed_spi_init_param adf4377_spi_extra
Definition parameters.c:42
Header containing extra types required for GPIO interface.
Header containing extra types required for SPI interface.
Header containing extra types required for UART interface.
Header file of GPIO Interface.
Header file of UART interface.
Structure holding the SPI init parameters for mbed platform.
Definition mbed_spi.h:56
Structure holding the UART init parameters for mbed platform.
Definition mbed_uart.h:56
Structure holding the parameters for GPIO initialization.
Definition no_os_gpio.h:67