?? cpd_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 CPD_MIKET_
#define CPD_MIKET_
#include <std.h>
#include <icpd.h>
/*--------------------- public vars ---------------------------------------*/
extern const IALG_Fxns CPD_MIKET_IALG;
extern const ICPD_Fxns CPD_MIKET_ICPD;
extern const ICPD_Params ICPD_MIKET_DefaultParams;
extern const ICPD_tCfg ICPD_MIKET_DefaultCfg;
/*--------------------- local vars ----------------------------------------*/
/*--------------------- local functions -----------------------------------*/
/*--------------------- public functions ---------------------------------*/
/*
* Required module finalization function : THIS FUNCTION IS EMPTY
*/
extern Void CPD_MIKET_exit(Void);
/*
* Required module initialization function: THIS FUNCTION IS EMPTY
*/
extern Void CPD_MIKET_init(Void);
/* ---- Native API ----- */
/* Initialises database. (mem[1]) */
extern void CPD_MIKET_init_db (void *pDb, ICPD_tCfg *pCfg);
/* pCfg in pStatus can point to the same config data for any number of CP
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 CPD_MIKET_control(void *pDb, Int Cmd, ICPD_Status *pStatus );
/* returns report word:
- MSByte as event and
- LSByte as tone ID.
pDb must point to initialized database (mem[1]).
pSc must point to scratch pad (mem[2])
pScratch shall point to DARAM if max speed is required,
otherwise MIPS will almost double.
pIn shall point to a frame (40 samples) of continuous data.
If CP receiver was turned off, then pSc and pIn
can point anywhere. */
extern Int CPD_MIKET_process(void *pDb, void *pSc, Int *pIn);
#endif /* CPD_MIKET_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -