⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 2440test.cpp

📁 嵌入式开发ads下面lcd液 晶屏驱动。嵌入式开发ads下面lcd液晶屏驱动。晶屏驱动。
💻 CPP
字号:
//====================================================================
// Function  : S3C2440 Test Main Menu
//====================================================================

#include <stdlib.h>
#include <string.h>

#include "def.h"
#include "option.h"
#include "2440addr.h"
#include "2440lib.h"

#if USE_MAIN
#include <stdio.h>
#endif

#ifdef __cplusplus
extern "C" {
#endif
#if (ADS10 && !USE_MAIN)	// 04.01.12 junon
    int __rt_lib_init(void);//for ADS 1.0
#endif
    void xmain(void);
    int  delayLoopCount;
#ifdef __cplusplus
}
#endif


#if USE_MAIN				// USE_MAIN=TRUE
// Ensure no functions that use semihosting SWIs are linked in from the C library
	#if !SEMIHOSTING		// SEMIHOSTING=FALSE
	#pragma import(__use_no_semihosting_swi) 
	#endif					//!SEMIHOSTING
	int main(void)
#else
	#ifdef  __cplusplus		// __cplusplus=TRUE
	extern "C" void CEntry(void)	//To retain the C naming method
	#else 
	void CEntry(void)
	#endif					//__cplusplus
#endif						//(ADS10 && USE_MAIN)
{
#if (ADS10 && !USE_MAIN)
    __rt_lib_init();		//for ADS 1.0
#endif
	xmain();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -