evmdm642_osd.h
来自「DSP/BIOS Driver Developer Kit 1.11 The 」· C头文件 代码 · 共 49 行
H
49 行
/*
* Copyright 2003 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.
*
*/
/* "@(#) DDK 1.11.00.00 11-04-03 (ddk-b13)" */
/*
* ======== evmdm642_osd.h ========
*
* Interface for CPLD (OSD/FPGA) interrupts on the EVMDM642 board
*/
#ifndef EVMDM642_OSD_
#define EVMDM642_OSD_
#ifdef __cplusplus
extern "C" {
#endif
#define EVMDM642_OSD_NUM_IRQ 5
enum EVMDM642_OSD_IRQ_TYPE {
FIFO_URUN_IRQ,
RTS1A_IRQ,
RTS1B_IRQ,
UARTA_IRQ,
UARTB_IRQ
};
typedef void (*EVMDM642_OSD_IntHandler) (Ptr arg);
/* Initialize the interrupt module APIs */
void EVMDM642_OSD_init();
/* Hook a sub-interrupt */
EVMDM642_OSD_IntHandler EVMDM642_OSD_intHook(Uint32 index,
EVMDM642_OSD_IntHandler fxn, Ptr arg);
/* Unhook a sub-interrupt */
EVMDM642_OSD_IntHandler EVMDM642_intUnhook(Uint32 index);
#ifdef __cplusplus
}
#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?