This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] EVM430-FR6043:USS 库

Guru**** 2450130 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1491201/evm430-fr6043-uss-library

您是仅在主循环中删除 HMI 功能、还是同时删除接头...

```μ A

#include
#include "hal.h"
#include "USSLibGUIApp.h"
#include "hmidc/hmi.h"

#if defined (__TI_Compiler_version__)
#pragma DATA_SECTION (APP_VERSION、".VERSION")
#pragma RETAIN (APP_VERSION)
const uint8_t APP_VERSION[8]={0x02、0x40、0x00、_EXTRA_VERSION__、__EVM430_ID__、__EVM430_VER__};
#else //__TI_Compiler_version__

#pragma location="version"
_ROOT const uint8_t APP_VERSION[8]={0x02、0x40、0x00、_EXTRA_VERSION_、__EVM430_ID__、__EVM430_VER_};
#endif


/***功能***/


//
//
//! 在此软件中、main 将调用几个初始化例程、然后调用它
//! 将跳转到设计中心的主循环
//!
//! \n 不返回任何内容
//
///
void main (void)

uint16_t RESET_SOURCE = 0x00;

//初始化系统的基本功能
HAL_SYSTEM_Init ();

//初始化用户接口、包括按钮、LCD、GUI
// HMI_Init ();

//验证重置源并记录/报告是否出现错误
reset_source = hal_system_GetResetSource ();

if (reset_source!= 0x00)

USSLibGUIApp_send_error (COMMAND_HANDLE_ERROR_FAULT_RESET_ERROR、
RESET_SOURCE);
}

___ enable_interrupt ();

//初始化 USS Lib
App_Init ();

//这是设计中心主循环
App_Engine ();
}

```μ A

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    这里的问题是什么? 是否尝试删除 MSP430FR6007EVM_USS_HMI 中的  Water_Demo 功能? 如果是、那么是的。 您可以在演示中删除所有与 HMI 相关的功能、同时删除头文件。  

    此致、

    Cash Hao