tskProcess.h
上传用户:dahaojd
上传日期:2008-01-29
资源大小:14357k
文件大小:1k
- /*
- * Copyright 2002 by Texas Instruments Incorporated.
- * All rights reserved. Property of Texas Instruments Incorporated.
- * Restricted rights to use, duplicate or disclose this code are
- * granted through contract.
- *
- * ======== thrProcess.h ========
- *
- * Please refer to readme.txt in this file's directory for a
- * detailed description.
- *
- */
- #ifndef THRPROCESS_
- #define THRPROCESS_
- // RF5 module includes
- #include <chan.h>
- #include <icell.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- #define PROCESSNUMCHANNELS 1
- #define PROCESSNUMCELLS 1
- /* Definition of the structure describing the state of the thread. */
- typedef struct ThrProcess
- {
- Int frameRateControl[PROCESSNUMCHANNELS];
- CHAN_Obj chanListEncode[ PROCESSNUMCHANNELS ];
- ICELL_Obj cellListEncode[ PROCESSNUMCHANNELS * PROCESSNUMCELLS ];
- CHAN_Obj chanListDecode[ PROCESSNUMCHANNELS ];
- ICELL_Obj cellListDecode[ PROCESSNUMCHANNELS * PROCESSNUMCELLS ];
- } ThrProcess;
- // message IDs
- enum
- {
- MSGFRAMECHANGE = 0,
- MSGQUALCHANGE = 1
- };
- /* prototypes for public functions */
- extern Void tskProcessInit( Void );
- extern Void tskProcess( Void );
- #ifdef __cplusplus
- }
- #endif // extern "C"
- #endif // THRPROCESS_