Go to the source code of this file.
Functions | |
void | vmeio_SyncWrite (MVME_INTERFACE *mvme, DWORD base, DWORD data) |
void | vmeio_AsyncWrite (MVME_INTERFACE *mvme, DWORD base, DWORD data) |
void | vmeio_OutputSet (MVME_INTERFACE *mvme, DWORD base, DWORD data) |
int | vmeio_CsrRead (MVME_INTERFACE *mvme, DWORD base) |
int | vmeio_AsyncRead (MVME_INTERFACE *myvme, DWORD base) |
int | vmeio_SyncRead (MVME_INTERFACE *myvme, DWORD base) |
void | vmeio_StrobeClear (MVME_INTERFACE *mvme, DWORD base) |
void | vmeio_IntEnable (MVME_INTERFACE *myvme, DWORD base, int input) |
void | vmeio_IntRearm (MVME_INTERFACE *myvme, DWORD base, int input) |
#define VMEIO_INTSRC (0x04) |
#define VMEIO_IRQENBL (0x00) |
#define VMEIO_OUTLATCH (0x10) |
#define VMEIO_OUTPULSE (0x0c) |
#define VMEIO_OUTSET (0x08) |
#define VMEIO_RDASYNC (0x18) |
#define VMEIO_RDCNTL (0x1c) |
#define VMEIO_RDSYNC (0x14) |
int vmeio_AsyncRead | ( | MVME_INTERFACE * | myvme, | |
DWORD | base | |||
) |
void vmeio_AsyncWrite | ( | MVME_INTERFACE * | myvme, | |
DWORD | base, | |||
DWORD | data | |||
) |
int vmeio_CsrRead | ( | MVME_INTERFACE * | myvme, | |
DWORD | base | |||
) |
void vmeio_IntEnable | ( | MVME_INTERFACE * | myvme, | |
DWORD | base, | |||
int | input | |||
) |
void vmeio_IntRearm | ( | MVME_INTERFACE * | myvme, | |
DWORD | base, | |||
int | input | |||
) |
Select Interrupt source and arm interrupt The CSR should be reset before this operation. In Sync mode the strobe and the input have to be in coincidence. In Async mode a logical level on the input will trigger the interrupt.
myvme | vme structure | |
base | VMEIO base address | |
input | inputs 0..7 if 1=> Sync, 0=> Async |
void vmeio_OutputSet | ( | MVME_INTERFACE * | myvme, | |
DWORD | base, | |||
DWORD | data | |||
) |
void vmeio_StrobeClear | ( | MVME_INTERFACE * | myvme, | |
DWORD | base | |||
) |
int vmeio_SyncRead | ( | MVME_INTERFACE * | myvme, | |
DWORD | base | |||
) |
void vmeio_SyncWrite | ( | MVME_INTERFACE * | myvme, | |
DWORD | base, | |||
DWORD | data | |||
) |