no-OS
parameters.h
Go to the documentation of this file.
1 /***************************************************************************/
34 #ifndef __PARAMETERS_H__
35 #define __PARAMETERS_H__
36 
37 /******************************************************************************/
38 /***************************** Include Files **********************************/
39 /******************************************************************************/
40 #include <PinNames.h>
41 #include "mbed_uart.h"
42 #include "mbed_i2c.h"
43 #include "no_os_uart.h"
44 
45 /******************************************************************************/
46 /********************** Macros and Constants Definitions **********************/
47 /******************************************************************************/
48 
49 #define UART_TX_PIN CONSOLE_TX
50 #define UART_RX_PIN CONSOLE_RX
51 #define UART_DEVICE_ID 0
52 #define UART_IRQ_ID 0
53 #define UART_BAUDRATE 115200
54 #define UART_OPS &mbed_uart_ops
55 
56 /* I2C Pin mapping for Arduino interface */
57 #define I2C_SCL ARDUINO_UNO_D15
58 #define I2C_SDA ARDUINO_UNO_D14
59 #define I2C_DEVICE_ID 0
60 #define I2C_OPS &mbed_i2c_ops
61 
62 extern struct mbed_uart_init_param xuip;
64 
65 #endif /* __PARAMETERS_H__ */
mbed_uart.h
Header containing extra types required for UART interface.
adt7420_i2c_extra
struct max_i2c_init_param adt7420_i2c_extra
Definition: parameters.c:46
mbed_uart_init_param
Structure holding the UART init parameters for mbed platform.
Definition: mbed_uart.h:63
mbed_i2c_init_param
Structure holding the I2C init parameters for mbed platform.
Definition: mbed_i2c.h:63
no_os_uart.h
Header file of UART interface.
xuip
struct max_uart_init_param xuip
Definition: parameters.c:42
mbed_i2c.h
Header containing extra types required for I2C interface.