precision-converters-firmware
app_config_mbed.h
Go to the documentation of this file.
1 /***************************************************************************/
13 #ifndef APP_CONFIG_MBED_H_
14 #define APP_CONFIG_MBED_H_
15 
16 /******************************************************************************/
17 /***************************** Include Files **********************************/
18 /******************************************************************************/
19 
20 #include <stdint.h>
21 #include <PinNames.h>
22 
23 #include "mbed_uart.h"
24 #include "mbed_i2c.h"
25 
26 /******************************************************************************/
27 /********************** Macros and Constants Definition ***********************/
28 /******************************************************************************/
29 
30 /* Pin mapping of SDP-K1 w.r.t Arduino connector */
31 #define I2C_SCL ARDUINO_UNO_D15
32 #define I2C_SDA ARDUINO_UNO_D14
33 
34 /* Common pin mapping on SDP-K1 */
35 #define UART_TX CONSOLE_TX
36 #define UART_RX CONSOLE_RX
37 
38 #define I2C_DEVICE_ID 0
39 
40 /******************************************************************************/
41 /********************** Public/Extern Declarations ****************************/
42 /******************************************************************************/
43 
44 extern struct mbed_uart_init_param mbed_uart_extra_init_params;
45 extern struct mbed_uart_init_param mbed_vcom_extra_init_params;
46 extern struct mbed_i2c_init_param mbed_i2c_extra_init_params;
47 
48 #endif /* APP_CONFIG_MBED_H_ */
struct mbed_uart_init_param mbed_vcom_extra_init_params
Definition: app_config_mbed.c:42
struct mbed_uart_init_param mbed_uart_extra_init_params
Definition: app_config_mbed.c:31
struct mbed_i2c_init_param mbed_i2c_extra_init_params
Definition: app_config_mbed.c:69