/** \file board_config.h */ #if !defined(BOARD_CONFIG_H__F1656892_AD9D_4187_8FC7_917D59CAB6DB__INCLUDED_) #define BOARD_CONFIG_H__F1656892_AD9D_4187_8FC7_917D59CAB6DB__INCLUDED_ #include #include #include #include #include #include #include #include #include "max32660.h" #include "mxc_errors.h" #include "mxc_sys.h" #include "mxc_delay.h" #include "nvic_table.h" #include "i2c.h" #include "gpio.h" #include "tmr.h" #include "lp.h" #include "flc.h" #include "uart.h" #include "icc.h" #include "wdt.h" #include "define.h" #include "system_func.h" #define DEBUG #define millis() SystemTimer_Get_TickCount() #define SYSTEM_TIMER_INSTANCE MXC_TMR1 ////////////////////////////////////////// // printf use // #define APP_UART_INSTANCE MXC_UART1 #define APP_UART_ALTERNATE MAP_A #define APP_UART_BAUDRATE 115200 #define APP_UART_TX_BUFFER_SIZE 1024 #define APP_UART_RX_BUFFER_SIZE 128 #define TEMPERATURE_MAX 4500 #define TEMPERATURE_MIN 1000 ////////////////////////////////////////// // Temperature I2c ////////////////////////////////////////// #define TEMP_I2C_INSTANCE MXC_I2C0 #define TEMP_I2C_SPEED I2C_STD_MODE #define TEMP_I2C_ADDRESS 0x6C #endif