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