?? kahluaepic.h
字號:
/* kahluaEpic.h - Kahlua EPIC register definitions *//* Copyright 1984-1999 Wind River Systems, Inc. *//* Copyright 1996-1999 Motorola, Inc. *//*modification history--------------------01b,28may99,dmw Updated to WindRiver coding standards.01a,12feb99,dmw Created.*//*DESCRIPTIONContains structure typedefs and device-specific defines for the Kahlua EPIC.*/#ifndef INCkahluaEpich#define INCkahluaEpich#ifdef __cplusplusextern "C" {#endif/* structures */typedef struct intHandlerDesc /* interrupt handler desciption */ { VOIDFUNCPTR vec; /* interrupt vector */ int arg; /* interrupt handler argument */ struct intHandlerDesc * next; /* next interrupt handler & argument */ } INT_HANDLER_DESC;typedef struct localIntData { UCHAR epicVec; UCHAR ibcVec; INT8 cpuCtrlReg; int temp; UINT32 regAddr; UINT32 regVal; } LOCAL_INT_DATA;/* Kahlua EPIC bit masks and settings for the registers */#define TIMER_INHIBIT 0x80000000#define INT_MASK_BIT 0x80000000#define HIGH_POLARITY 0x00800000#define LOW_POLARITY 0x00000000#define LEVEL_SENSE 0x00400000#define EDGE_SENSE 0x00000000#define VECTOR_MASK 0x000000ff#define PRIORITY_MASK 0x000f0000#define PRIORITY_LVL0 0x00000000#define PRIORITY_LVL1 0x00010000#define PRIORITY_LVL2 0x00020000#define PRIORITY_LVL3 0x00030000#define PRIORITY_LVL4 0x00040000#define PRIORITY_LVL5 0x00050000#define PRIORITY_LVL6 0x00060000#define PRIORITY_LVL7 0x00070000#define PRIORITY_LVL8 0x00080000#define PRIORITY_LVL9 0x00090000#define PRIORITY_LVL10 0x000a0000#define PRIORITY_LVL11 0x000b0000#define PRIORITY_LVL12 0x000c0000#define PRIORITY_LVL13 0x000d0000#define PRIORITY_LVL14 0x000e0000#define PRIORITY_LVL15 0x000f0000/* miscellaneous defines */#define REG_OFFSET 0x10#ifdef __cplusplus}#endif#endif /* INCkahluaEpich */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -