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

📄 e11a.c

📁 一个瑞萨单片机的程序。。。供大家学习用。。。。。。。。。。。。。。。。。。
💻 C
字号:
/*""FILE COMMENT""*************************************************************
 * System Name : for eduction (NO TRANSFERRING)
 * File Name   : e11a.c
 * Contents    : exercise 11A: program using A-D conversion
 * 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 "target.h" 			/* SFR definition file						*/
#include "lcdutl.h"				/* header file control LCD  			*/
#include "txutl.h"				/* header file control TimerX			*/
#include "ad1utl.h"				/* header file control A-D conversion		*/
#include "intr_i0.h"			/* interrupt service program definition file	*/

/*===== define macro =====*/

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

/*===== define variable =====*/


/*""FUNC COMMENT""*************************************************************
* ID            : ---
* function name : void main(void)
* function      : input A-D conversion result, display bar in LCD
* parameter     : none
* return        : none
* function used : LCD__initialize, AD1_initialize, TX__initialize,
*               : interruptTX_initialize, AdToLcdDisp
* notice        : none
* History       : ---
*""FUNC COMMENT END""*********************************************************/
void main(void)
{

}


/*""FUNC COMMENT""*************************************************************
* ID            : ---
* function name : static void  interruptTX_initialize(void)
* function      : initialize timer X interrupt
* parameter     : none
* return        : none
* function used : none
* notice        : none
* History       : ---
*""FUNC COMMENT END""*********************************************************/
static void  interruptTX_initialize(void)	
								/* define function to initialize timer X interrupt	*/
{
	txic = 0x01;		/* set timer X interrupt control register			*/
						/* xxxx0001                         			*/
						/*     |+++---- interrupt priority level  			*/
						/*     +------- interrupt request bit 			*/
}


/*""FUNC COMMENT""*************************************************************
* ID            : 
* function name : 
* function      : 
* parameter     : 
* return        : 
* function used : 
* notice        : 
* History       : ---
*""FUNC COMMENT END""*********************************************************/
/* define function */


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

⌨️ 快捷键说明

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