You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.2 KiB
60 lines
1.2 KiB
/** \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 <stdio.h>
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
#include <stddef.h>
|
|
#include <math.h>
|
|
#include <stdbool.h>
|
|
#include <assert.h>
|
|
#include <stdarg.h>
|
|
|
|
|
|
#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_BUADRATE 115200
|
|
#define APP_UART_TX_BUFFER_SIZE 1024
|
|
#define APP_UART_RX_BUFFER_SIZE 128
|
|
|
|
|
|
|
|
|
|
#define TEMPERATURE_MAX 4500
|
|
#define TEMPERATURE_MIN 1000
|
|
|
|
|
|
#endif
|