event_log.h
来自「基于2812dsp/BOIS实时操作系统,通用软件平台」· C头文件 代码 · 共 48 行
H
48 行
/* =================================================================================
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 + =
减小字号Ctrl + -
显示快捷键?