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

📄 data_log.h

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

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

#define NUMBER_SAMPLES  6000


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

typedef struct { 
				 int	index;
		  	  	 void  (*init)();			/* Pointer to update function */ 
		  	  	 void  (*update)();			/* Pointer to update function */ 
				 } DATALOG;	              

/*-----------------------------------------------------------------------------
Default initalizer for the DATALOG object.
-----------------------------------------------------------------------------*/                     
#define DATALOG_DEFAULTS {  0, \
                         	(void (*)(long))data_log_init,\
                         	(void (*)(long))data_log_update }
/*------------------------------------------------------------------------------
Prototypes for the functions in DATA_LOG.C
------------------------------------------------------------------------------*/
void data_log_update(DATALOG *); 
void data_log_init(DATALOG *); 




#endif  /* datalog.h */

⌨️ 快捷键说明

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