appconfig.c

来自「利用FREE SCALE的DSP56F803编写的AD采集程序」· C语言 代码 · 共 37 行

C
37
字号
#include "port.h"
#include "arch.h"

#include "config.h"

EXPORT void UserPreMain(void);
EXPORT void UserPostMain(void);
EXPORT void fflush (void);

/*****************************************************************************/
EXPORT void UserPreMain(void)
{
}

/*****************************************************************************/
EXPORT void UserPostMain(void)
{
	/* Flush all output */
	fflush();               /* Delete this to save space 
										if you do not use stdio   */
	
#ifdef INCLUDE_STACK_CHECK
	if (stackcheckSizeUsed() >= stackcheckSizeAllocated())
	{
		/* Stack Overflow */
		asm(debug);
	}
#endif
	
	while (1) 
	{
		/* End of debugging session */
		asm(debug);           
	}
}

⌨️ 快捷键说明

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