📄 epic_extr.h
字号:
/************************************************************************/
/* */
/* Copyright (c) 2001 by Accelerated Technology, Inc. */
/* */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in */
/* the subject matter of this material. All manufacturing, */
/* reproduction, use, and sales rights pertaining to this subject */
/* matter are governed by the license agreement. The recipient of */
/* this software implicitly accepts the terms of the license. */
/* */
/* */
/************************************************************************/
/************************************************************************/
/* FILE NAME VERSION */
/* */
/* epic_extr.h Nucleus PLUS\MPC8245\Diab C/C++ 1.13.1 */
/* */
/* */
/* DESCRIPTION */
/* */
/* Support services for the EPIC interrupt controller for the */
/* PowerPC 8240 processor. */
/* */
/* */
/* DATA STRUCTURES */
/* */
/* none */
/* */
/* FUNCTIONS */
/* */
/* none */
/* */
/* DEPENDENCIES */
/* epic_defs.h */
/* */
/* HISTORY */
/* */
/* NAME DATE REMARKS */
/* */
/* T. Weller 12\19\2001 Created inital version 1.13.1 */
/************************************************************************/
#include "nucleus.h"
#include "epic_defs.h"
#ifndef EPIC_EXTR
#define EPIC_EXTR
/* Internal Utility functions */
UINT32 epic_Read_Config_Word(UINT32 regNum);
void epic_Write_Config_Word(UINT32 regNum, UINT32 regVal);
UINT32 epic_EUMB_Read_Word(UINT32 addr);
void epic_EUMB_Write_Word(UINT32 addr, UINT32 val);
/* External Utility functions */
UINT32 epic_IntAck(UINT32 eumbbar);
STATUS EPIC_Open_Direct_Int(UINT8 index, UINT8 mask, UINT8 polarity,
UINT8 sense, UINT8 priority, UINT8 vector);
/* Device initialization routine */
void Epic_Init();
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -