📄 lec_miket.h
字号:
/*------------------------------------------------------------------------*
* *
* THIS IS AN UNPUBLISHED WORK CONTAINING CONFIDENTIAL AND PROPRIETARY *
* INFORMATION. IF PUBLICATION OCCURS, THE FOLLOWING NOTICE APPLIES: *
* "COPYRIGHT 2001 MIKET DSP SOLUTIONS, ALL RIGHTS RESERVED" *
* *
*-------------------------------------------------------------------------*/
#ifndef LEC_MIKET_
#define LEC_MIKET_
#include <std.h>
#include <ilec.h>
/* statistics */
typedef struct LEC_MIKET_tStts {
Long slFrames;
Long slRxFrames;
Long slTxFrames;
Long slDtFrames;
unsigned short uFlags;
Int sTxEn;
Int sRxInEn;
Int sErrEn;
Int sRxOutEn;
Int sErl;
Int sErle;
} LEC_MIKET_tStts;
/*--------------------- public vars ---------------------------------------*/
extern const IALG_Fxns LEC_MIKET_IALG;
extern const ILEC_Fxns LEC_MIKET_ILEC;
extern const ILEC_tCfg ILEC_MIKET_DefaultCfg;
/*--------------------- local vars ----------------------------------------*/
/*--------------------- local functions -----------------------------------*/
/*--------------------- public functions ---------------------------------*/
/*
* Required module finalization function : THIS FUNCTION IS EMPTY
*/
extern Void LEC_MIKET_exit(Void);
/*
* Required module initialization function: THIS FUNCTION IS EMPTY
*/
extern Void LEC_MIKET_init(Void);
/* ---- Native API ----- */
/* Initialises database. (mem[1]) */
extern void LEC_MIKET_init_db (
void *pDb,
/*const*/ ILEC_tCfg *pCfg,
LEC_MIKET_tStts *pStts,
Int *pHst,
Int *pAdf
);
/* pCfg in pStatus can point to the same config data for any number of MF
detector instances.
If RESET is not or-ed with OFF, the detector starts running.
It is not recommened to apply OFF without RESET due to
the obvious consequences of calling _control(pDb, 0); afterwards.
Asynchronous calling _control() and _process() from different tasks
is not recommended. */
extern void LEC_MIKET_control(void *pDb, Int Cmd, ILEC_Status *pStatus );
extern void LEC_MIKET_process
(void *pDb, void *pSc, Int *pRcv, Int *pSnd, Int uIsTone);
#endif /* LEC_MIKET_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -