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

📄 event_log.h

📁 基于2812dsp/BOIS实时操作系统,通用软件平台
💻 H
字号:
/* =================================================================================
File name:        EVENT_LOG.H                     
                    
Originator:	newimage R&D

Description: 
Header file containing constants, data type definitions, and 
function prototypes for the EVENTLOG module.
=====================================================================================
 History:
-------------------------------------------------------------------------------------
 05-15-2002	Release	Rev 1.0                                                   
------------------------------------------------------------------------------*/
#ifndef _EVENTLOG_H
#define _EVENTLOG_H


/* change "int" to "long" or "float" according to variable type */

typedef struct { 
				 int	index;
				 int	CWBuffer;
				 int	SWBuffer;
				 int	FWBuffer;
				 int	AWBuffer;
		  	  	 void  (*init)();			/* Pointer to update function */ 
		  	  	 void  (*update)();			/* Pointer to update function */ 
				 } EVENTLOG;	              

/*-----------------------------------------------------------------------------
Default initalizer for the DATALOG object.
-----------------------------------------------------------------------------*/                     
#define EVENTLOG_DEFAULTS {  0,\
							 0,0,0,0,\
                         	(void (*)(long))event_log_init,\
                         	(void (*)(long))event_log_update }
/*------------------------------------------------------------------------------
Prototypes for the functions in DATA_LOG.C
------------------------------------------------------------------------------*/
void event_log_update(EVENTLOG *); 
void event_log_init(EVENTLOG *); 




#endif  /* datalog.h */

⌨️ 快捷键说明

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