EDT PCD SDK Documentation 6.1.0
|
Local include files and declarations for Edt_Dev driver. More...
#include "edtdrv.h"
Functions | |
int | edt_test_intr (Edt_Dev *edt_p) |
Local include files and declarations for Edt_Dev driver.
Common shared driver code with hooks to map driver dependencies into driver independent code.
int edt_test_intr | ( | Edt_Dev * | edt_p | ) |
Determine if the interrupt is ours, clear interrupt enables.
edt_p | EDT dev pointer. |
0 | if PCI interrupts are disabled (EDT_ICFG_PCI_EN_INTR bit is clear) or if none of the interupt status bits ( EDT_DMA_INTR, EDT_RMT_INTR, EDT_PCI_INTR) are set. |
1 | if interrupts are enabled and an interrupt was detected. |