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_i2c.h"
40#include "no_os_uart.h"
41
42#define UART_TX_PIN CONSOLE_TX
43#define UART_RX_PIN CONSOLE_RX
44#define UART_DEVICE_ID 0
45#define UART_IRQ_ID 0
46#define UART_BAUDRATE 115200
47#define UART_OPS &mbed_uart_ops
48
49/* I2C Pin mapping for Arduino interface */
50#define I2C_SCL ARDUINO_UNO_D15
51#define I2C_SDA ARDUINO_UNO_D14
52#define I2C_DEVICE_ID 0
53#define I2C_OPS &mbed_i2c_ops
54
55extern struct mbed_uart_init_param xuip;
57
58#endif /* __PARAMETERS_H__ */
struct max_uart_init_param xuip
Definition parameters.c:36
struct max_i2c_init_param adt7420_i2c_extra
Definition parameters.c:40
Header containing extra types required for I2C interface.
Header containing extra types required for UART interface.
Header file of UART interface.
Structure holding the I2C init parameters for mbed platform.
Definition mbed_i2c.h:55
Structure holding the UART init parameters for mbed platform.
Definition mbed_uart.h:56