|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
/// COPYRIGHT NOTICE
|
|
|
|
/// Copyright (c) 2017, 传控科技
|
|
|
|
/// All rights reserved.
|
|
|
|
///
|
|
|
|
/// @file main.c
|
|
|
|
/// @brief main app
|
|
|
|
///
|
|
|
|
///(本文件实现的功能的详述)
|
|
|
|
///
|
|
|
|
/// @version 1.1 CCsens technology
|
|
|
|
/// @author CC
|
|
|
|
/// @date 20150102
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// 修订说明:最初版本
|
|
|
|
/// Modified by:
|
|
|
|
/// Modified date:
|
|
|
|
/// Version:
|
|
|
|
/// Descriptions:
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
/// msp: humtemp flow
|
|
|
|
/// bsp: i2c adc
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
///
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef _MAIN_H
|
|
|
|
#define _MAIN_H
|
|
|
|
#include "bsp_config.h"
|
|
|
|
///#include "../bsp/bsp_cs1232.h"
|
|
|
|
//#include "../bsp/bsp_485.h"
|
|
|
|
///#include "msp_time2.h"
|
|
|
|
#include "msp_uart1.h"
|
|
|
|
///
|
|
|
|
///
|
|
|
|
|
|
|
|
#include "c_delay.h"
|
|
|
|
|
|
|
|
///#include "msp_uart2.h"
|
|
|
|
///#include "msp_uart3.h"
|
|
|
|
///#include "msp_uart4.h"
|
|
|
|
///
|
|
|
|
|
|
|
|
#include "msp_eeprom.h"
|
|
|
|
///#include "../msp/msp_id.h"
|
|
|
|
#include "msp_iicMx.h"
|
|
|
|
#include "TTSS_task.h"
|
|
|
|
///#include "../app/app_task_uart0.h"
|
|
|
|
|
|
|
|
////#include "../app/app_task_debug.h"
|
|
|
|
///#include "../app/app_task_reg.h"
|
|
|
|
///#include "app_config.h"
|
|
|
|
|
|
|
|
///#include "app_weightzero.h"
|
|
|
|
#include "debug_drv.h"
|
|
|
|
#include "tpc_road.h"
|
|
|
|
///#include "msp_adc.h"////20220718_135435 CCmodify
|
|
|
|
///#include "asp_moto.h"////20220718_135435 CCmodify
|
|
|
|
///
|
|
|
|
|
|
|
|
////#include "bsp_AiP650E.h"
|
|
|
|
////#include "bsp_lora.h"
|
|
|
|
///#include "bsp_pressure.h"
|
|
|
|
#include "msp_adc.h"///
|
|
|
|
#include "stc_8_delay.h"
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///#include "max30102.h"
|
|
|
|
///#include "tpc_wifi.h"
|
|
|
|
///
|
|
|
|
|
|
|
|
///#include "bsp_oled.h"
|
|
|
|
////#include "bsp_lora.h"
|
|
|
|
#include "bsp_msa300.h"
|
|
|
|
|
|
|
|
#include "bsp_moto.h"
|
|
|
|
|
|
|
|
#include "asp_lowpower.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "asp_move.h"
|
|
|
|
#include "bsp_pt100x.h"
|
|
|
|
#include "app_weight.h"
|
|
|
|
#include "task_screen.h"
|
|
|
|
#include "app_screen_save.h"
|
|
|
|
#include "task_bedalarm.h"
|
|
|
|
#include "task_weight_keep.h"
|
|
|
|
|
|
|
|
#include "app_config.h"
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///#include "max30102.h"
|
|
|
|
///#include "tpc_lora.h"
|
|
|
|
|
|
|
|
///#include "mlx90615.h"
|
|
|
|
|
|
|
|
///#include "mlx90615.h"
|
|
|
|
|
|
|
|
#endif //#ifndef _MAIN_H
|
|
|
|
|
|
|
|
|