Go to the source code of this file.
Defines | |
#define | V513_CHANMODE_OUTPUT 0 |
#define | V513_CHANMODE_INPUT 1 |
#define | V513_CHANMODE_NEG 0 |
#define | V513_CHANMODE_POS 2 |
#define | V513_CHANMODE_IGLITCHED 0 |
#define | V513_CHANMODE_INORMAL 4 |
#define | V513_CHANMODE_TRANSP 0 |
#define | V513_CHANMODE_EXTSTROBE 8 |
Functions | |
uint16_t | v513_RegisterRead (MVME_INTERFACE *mvme, DWORD base, int offset) |
void | v513_RegisterWrite (MVME_INTERFACE *mvme, DWORD base, int offset, uint16_t value) |
uint16_t | v513_Read (MVME_INTERFACE *mvme, DWORD base) |
void | v513_Write (MVME_INTERFACE *mvme, DWORD base, uint16_t data) |
void | v513_Reset (MVME_INTERFACE *mvme, DWORD base) |
void | v513_Status (MVME_INTERFACE *mvme, DWORD base) |
void | v513_SetChannelMode (MVME_INTERFACE *mvme, DWORD base, int channel, int mode) |
int | v513_GetChannelMode (MVME_INTERFACE *mvme, DWORD base, int channel) |
int v513_GetChannelMode | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | channel | |||
) |
uint16_t v513_Read | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
uint16_t v513_RegisterRead | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | offset | |||
) |
void v513_RegisterWrite | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | offset, | |||
uint16_t | value | |||
) |
void v513_Reset | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
Definition at line 59 of file v513.c.
00060 { 00061 regWrite(mvme,base,0x46,0); // reset to default configuration 00062 regWrite(mvme,base,0x42,0); // module reset 00063 //regRead(mvme,base,0x50); // scalers clear, vme interrupt clear and disable 00064 regRead(mvme,base,0); // flush posted writes 00065 }
void v513_SetChannelMode | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
int | channel, | |||
int | mode | |||
) |
void v513_Status | ( | MVME_INTERFACE * | mvme, | |
DWORD | base | |||
) |
void v513_Write | ( | MVME_INTERFACE * | mvme, | |
DWORD | base, | |||
uint16_t | data | |||
) |