no-OS
Loading...
Searching...
No Matches
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 "no_os_gpio.h"
42#include "mbed_gpio.h"
43#include "no_os_irq.h"
44#include "mbed_irq.h"
45#include "mbed_gpio_irq.h"
46
47#define UART_TX_PIN CONSOLE_TX
48#define UART_RX_PIN CONSOLE_RX
49#define UART_DEVICE_ID 0
50#define UART_IRQ_ID 0
51#define UART_BAUDRATE 115200
52#define UART_EXTRA &ad74414h_uart_extra_ip
53#define UART_OPS &mbed_uart_ops
54
55#define SPI_BAUDRATE 1000000
56#define SPI_OPS &mbed_spi_ops
57#define SPI_EXTRA &ad74414h_spi_extra
58#define SPI_DEVICE_ID 0
59#define SPI_CS ARDUINO_UNO_D10
60
61#define GPIO_OPS &mbed_gpio_ops
62#define GPIO_ADC_RDY ARDUINO_UNO_D2
63#define GPIO_EXTRA &ad74414h_gpio_extra
64
65#define GPIO_IRQ_ADC_ID 0
66#define GPIO_IRQ_OPS &mbed_gpio_irq_ops
67#define GPIO_IRQ_ADC_EXTRA &mbed_adc_rdy_gpio_irq_extra
68
75
76#endif /* __PARAMETERS_H__ */
struct mbed_gpio_init_param ad74414h_gpio_extra
Definition parameters.c:64
struct mbed_uart_init_param ad74414h_uart_extra_ip
Definition parameters.c:36
struct mbed_gpio_irq_init_param mbed_adc_rdy_gpio_irq_extra
Definition parameters.c:69
struct no_os_irq_init_param adc_rdy_gpio_irq_ip
Definition parameters.c:58
struct mbed_spi_init_param ad74414h_spi_extra
Definition parameters.c:41
struct no_os_gpio_init_param adc_rdy_gpio_ip
Definition parameters.c:49
Header containing extra types required for GPIO interface.
Header containing extra types required for GPIO IRQ drivers.
Header containing extra types required for IRQ drivers.
Header containing extra types required for SPI interface.
Header containing extra types required for UART interface.
Header file of GPIO Interface.
Header file of IRQ interface.
Header file of UART interface.
Structure holding the GPIO init parameters for mbed platform.
Definition mbed_gpio.h:55
Structure holding the extra parameters for GPIO Interrupt Request Example: struct mbed_irq_init_param...
Definition mbed_gpio_irq.h:78
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
Structure holding the initial parameters for Interrupt Request.
Definition no_os_irq.h:101