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

📄 e03a.c

📁 一个瑞萨单片机的程序。。。供大家学习用。。。。。。。。。。。。。。。。。。
💻 C
字号:
/*""FILE COMMENT""***********************************************************
 * System Name : for eduction (NO TRANSFERRING)
 * File Name   : e03a.c
 * Contents    : embedded C language entrance course
 *             : exercise 3A: make multiple program for decided functions
 *             :                           (get difference and sum of two number)
 * Model       : for OAKS8-LCD Board
 * CPU         : R8C/Tiny series
 * Compiler    : NC30WA(V.5.30 Release 1)
 * OS          : not be used
 * Programmer  : RENESAS Semiconductor Training Center
 * Note        : for OAKS8-R5F21114FP(R8C/11 group,20MHz)
 ****************************************************************************
 * COPYRIGHT(C) 2004 RENESAS TECHNOLOGY CORPORATION  
 *               AND RENESAS SOLUTIONS CORPORATION ALL RIGHTS RESERVED
 ****************************************************************************
 * History     : 
 *""FILE COMMENT END""*******************************************************/

/* include file */
#include "defs.h"			/* define common symbol					*/
#include "oaks8lib.h"		/* for function to deal with OAKS8-LCDBoard peripheral	*/

/* define function prototype */
int main(void);


/*""FUNC COMMENT""*************************************************************
 *  ID            : 1.0
 *  function name : main
 *  function      : call functions to get sum and difference, display result in LCD
 *                : (input two optional integer from key matrix)
 *  parameter     : none
 *  return        : result 0:normal end
 *  function used : add, sub
 *  notice        : none
 *  History       : 
 *""FUNC COMMENT END""********************************************************/
int main(void)
{

	return 0;
}


/*""FUNC COMMENT""*************************************************************
 *  ID            : 1.1
 *  function name : add
 *  function      : add arguments, return result
 *  parameter     : summand, addend
 *  return        : sum of two number(calculation result)
 *  function used : none
 *  notice        : not guarantee if calculation result over int
 *  History       :  
 *""FUNC COMMENT END""********************************************************/
/* define function to get sum */


/*""FUNC COMMENT""*************************************************************
 *  ID            : 1.2
 *  function name : sub
 *  function      : subtract arguments, return result
 *  parameter     : minuend, subtrahend
 *  result        : difference between two integer(calculation result)
 *  function used : none
 *  notice        : not guarantee if calculation result over int
 *  History       : 
 *""FUNC COMMENT END""********************************************************/
/* define function to get subtract */


/*****************************************************************************
    end of file
******************************************************************************/

⌨️ 快捷键说明

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