text.c
来自「freesale公司DSP的一个发送外部文件的程序」· C语言 代码 · 共 65 行
C
65 行
/** ###################################################################
** Filename : text.C
** Project : text
** Processor : 56F8346
** Version : Driver 01.10
** Compiler : Metrowerks DSP C Compiler
** Date/Time : 2009-1-5, 10:32
** Abstract :
** Main module.
** Here is to be placed user's code.
** Settings :
** Contents :
** No public methods
**
** (c) Copyright UNIS, spol. s r.o. 1997-2005
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
/* MODULE text */
/* Including used modules for compiling procedure */
#include "Cpu.h"
#include "AS1.h"
#include "EFil1.h"
/* Include shared modules, which are used for whole project */
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
unsigned long length,i;
void main(void)
{
/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/
PE_low_level_init();
/*** End of Processor Expert internal initialization. ***/
/* Write your code here */
length=EFil1_GetSize();
for(i=0;i<length;i++)
{
while(AS1_SendChar(EFil1_GetValue(i))!=ERR_OK)
{
}
}
for(;;) {}
}
/* END text */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 2.97 [03.74]
** for the Freescale 56800 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?