📄 e05b.c
字号:
/*""FILE COMMENT""***********************************************************
* System Name : for eduction (NO TRANSFERRING)
* File Name : e05b.c
* Contents : embedded C language entrance course
* : exercise 5B: program using pointer
* : 乮pass one-dimensional array to function)
* 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 function to get string length, display result
* parameter : none
* return : result 0:normal end
* function used : get_strlength
* notice : none
* History :
*""FUNC COMMENT END""********************************************************/
int main(void)
{
return 0;
}
/*""FUNC COMMENT""*************************************************************
* ID : 1.1
* function name : get_string
* function : input string from key matrix
* parameter : message:pointer to input waiting message
* : buff :pointer to space saving string input
* return : none
* function used : none
* notice : none
* History :
*""FUNC COMMENT END""********************************************************/
/* define function to input string */
/*""FUNC COMMENT""*************************************************************
* ID : 1.2
* function name : get_strlength
* function : refer string using pointer passed as argument, return length
* parameter : str:address of string to count length
* return : length
* function used : none
* notice : none
* History :
*""FUNC COMMENT END""********************************************************/
/* define function to get string length */
/*""FUNC COMMENT""*************************************************************
* ID : 1.3
* function name : print_dec
* function : display decimal number in LCD
* parameter : message:pointer to input waiting message
* : dec :decimal number to be displayed
* return : none
* function used : none
* notice : none
* History :
*""FUNC COMMENT END""********************************************************/
/* define function to display decimal number in LCD */
/*****************************************************************************
end of file
******************************************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -