harriermpic.h

来自「vxworks的bsp开发包(基于POWERPC的PRPMC800)」· C头文件 代码 · 共 39 行

H
39
字号
/* harrierMpic.h - harrier specific MPIC register definitions *//* Copyright 1984-2001 Wind River Systems, Inc. *//* Copyright 1996,1998-2001 Motorola, Inc. *//*modification history--------------------01c,10oct01,scb  Add EIEIO_SYNCs to quash spurious interrupts01b,07sep00,krp  Added the Harrier MPIC support.*//*Description:Contains structure typedefs and device-specific defines for the Motorola MPIC..*/#ifndef INCharrierMpich#define INCharrierMpich#ifdef __cplusplus    extern "C" {#endif/* macros */#define MPIC_ADDR(reg)	  (MPIC_BASE_ADRS + reg)#define MPIC_WRITE(X,Y)   { (*(UINT32 *) (MPIC_ADDR(X)) = Y); EIEIO_SYNC; }#define MPIC_READ(X,Y)	  { (Y = *(UINT32 *) (MPIC_ADDR(X))); EIEIO_SYNC; }#ifdef __cplusplus    }#endif#endif	/* INCharrierMpich */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?