📄 zl5011xdpr.h
字号:
/*******************************************************************************
*
* File name: zl5011xDpr.h
*
* Version: 8
*
* Author: PJE
*
* Date created: 17/07/2002
*
* Copyright 2002, 2003, 2004, 2005, Zarlink Semiconductor Limited.
* All rights reserved.
*
* Module Description:
* This is the header file for the high level ISR functions which the user
* may wish to adapt for the specific application.
*
*
*
* Revision History:
*
* Rev: Date: Author: Comments:
* 1 25/09/2002 PJE initial version
* 2 26/09/2002 PJE new zl5011xIsrNoAppnInterruptSoFar() & zl5011xIsrNoApi..
* 3 10/10/2002 PJE Added more fns
* 4 25/10/2002 PJE API tidy up
* 5 31/10/2002 MRC Added variants + minor fixes
* 6 03/04/2003 MRC Renamed variables to comply with global namespace
* requirements
* 7 10/04/2003 MRC Changed interrupt reporting and enabling
* 8 02/06/2005 MRC Added function to initialise PW polling
*
*******************************************************************************/
#ifndef _ZL5011X_DPR_H
#define _ZL5011X_DPR_H
#ifdef __cplusplus
extern "C" {
#endif
/***************** INCLUDE FILES *****************************************/
#include "zl5011xInterrupts.h"
/***************** MACROS ************************************************/
/***************** DATA STRUCTURES ***************************************/
/***************** EXPORTED GLOBAL VARIABLES ******************************/
extern OS_SEM_ID zl5011xIsrSemId;
extern OS_MSG_Q_ID zl5011xIsrMsgQId;
extern OS_TASK_ID zl5011xIsrTaskId;
extern OS_TASK_ID zl5011xDprTaskId;
/**************** FUNCTION PROTOTYPES & Param Structures ******************/
/* -------------------------zl5011xIsrInitialise ----------------------------*/
typedef struct
{
Uint32T apiPhysIntr;
Uint32T appPhysIntr;
} zl5011xIsrInitialiseS;
zlStatusE zl5011xIsrInitialiseStructInit(zl5011xParamsS *zl5011xParams,
zl5011xIsrInitialiseS *par);
zlStatusE zl5011xIsrInitialise(zl5011xParamsS *zl5011xParams,
zl5011xIsrInitialiseS *par);
/********************************/
typedef struct
{
Uint32T unused;
} zl5011xIsrDeleteS;
zlStatusE zl5011xIsrDeleteStructInit(zl5011xParamsS *zl5011xParams, zl5011xIsrDeleteS *par);
zlStatusE zl5011xIsrDelete(zl5011xParamsS *zl5011xParams, zl5011xIsrDeleteS *par);
/********************************/
typedef struct
{
Uint32T unused;
} zl5011xIsrInitialisePwOnlyS;
zlStatusE zl5011xIsrInitialisePwOnly(zl5011xParamsS *zl5011xParams, zl5011xIsrInitialisePwOnlyS *par);
zlStatusE zl5011xIsrInitialisePwOnlyStructInit(zl5011xParamsS *zl5011xParams, zl5011xIsrInitialisePwOnlyS *par);
/********************************/
zlStatusE zl5011xDprHandler(zl5011xParamsS *zl5011xParams, zl5011xInterruptQueueDataS *par);
void zl5011xIsrConnect(void);
void zl5011xDprTask(void);
void zl5011xIsrTask(void);
#ifdef __cplusplus
}
#endif /* #ifdef __cplusplus */
#endif /* #ifndef _ZL5011X_DRP_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -