Go to the source code of this file.
#define BRANCH1_MASK 0X000FF000 |
Referenced by byteOutputOrder().
#define BRANCH2_MASK 0X00000FF0 |
Referenced by byteOutputOrder().
#define BRANCH3_MASK 0X0000000F |
Referenced by byteOutputOrder().
#define HIGH_MASK 0xFF000000 |
Referenced by byteOutputOrder().
#define HIGH_MID_MASK 0x00FF0000 |
Referenced by byteOutputOrder().
#define LOW_MASK 0x000000FF |
Referenced by byteOutputOrder().
#define LOW_MID_MASK 0x0000FF00 |
Referenced by byteOutputOrder().
void byteOutputOrder | ( | PARAM | data, | |
char * | array | |||
) |
byteOutputOrder byte swap for output byte swap for PPG.
data | ||
array |
Definition at line 490 of file vppg.c.
Referenced by VPPGLoad().
PARAM lineRead | ( | FILE * | infile | ) |
lineRead Read line of input file read line.
*input | FILE pointer |
Definition at line 530 of file vppg.c.
Referenced by VPPGLoad().
void VPPGBeamCtlPPG | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
VPPGBeamCtlPPG PPG controls the Beam On/Off signal. Give PPG script control of Beam On/Off signal (ch14)
base\_adr | PPG VME base address |
Definition at line 267 of file vppg.c.
Referenced by VPPGInit().
BYTE VPPGBeamCtlRegRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
void VPPGBeamOff | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
void VPPGBeamOn | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
BYTE VPPGDisableExtTrig | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
VPPGDisableExtTrig(ppg_base) Disable front panel trigger input so external inputs cannot start the sequence Disable external trigger input so external inputs cannot start the sequence
base\_adr | PPG VME base address |
Definition at line 373 of file vppg.c.
Referenced by VPPGInit().
BYTE VPPGEnableExtTrig | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
BYTE VPPGExtTrigRegRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
void VPPGInit | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
int VPPGLoad | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
char * | file | |||
) |
DWORD VPPGPolmskRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
VPPGPolmskRead Read the Polarity mask. Read polarity mask.
base\_adr | PPG VME base address |
Definition at line 431 of file vppg.c.
Referenced by VPPGPolmskWrite(), and VPPGStartpatternWrite().
DWORD VPPGPolmskWrite | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
const DWORD | pol | |||
) |
VPPG Write the Polarity mask. Write and read back polarity mask.
base\_adr | PPG VME base address | |
pol | polarity (24bit) |
Definition at line 405 of file vppg.c.
Referenced by VPPGInit(), and VPPGStartSequencer().
void VPPGPolzCtlPPG | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
VPPGPolzCtlPPG PPG controls the Pol On/Off signal for helicity Give PPG script control of Pol On/Off signal (DRV POL) which now follows ch15
base\_adr | PPG VME base address |
Definition at line 294 of file vppg.c.
Referenced by VPPGInit().
void VPPGPolzCtlVME | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
BYTE VPPGPolzFlip | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
BYTE VPPGPolzRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
ppgPolzRead Read Polarization bit. Read PPG.
base\_adr | PPG VME base addroless |
Definition at line 64 of file vppg.c.
Referenced by VPPGPolzFlip().
void VPPGPolzSet | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
BYTE | value | |||
) |
ppgPolzSet Set Polarization bit to a given value. Write PPG.
base\_adr | PPG VME base addroless | |
value | (8bit) |
Definition at line 51 of file vppg.c.
Referenced by VPPGPolzFlip().
BYTE VPPGRegRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
DWORD | reg_offset | |||
) |
VPPGRegRead Read PPG register. Read PPG.
base\_adr | PPG VME base addroless | |
reg\_offset | PPG register |
Definition at line 145 of file vppg.c.
Referenced by VPPGBeamCtlRegRead(), VPPGExtTrigRegRead(), VPPGPolmskRead(), VPPGPolzRead(), and VPPGStatusRead().
BYTE VPPGRegWrite | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
DWORD | reg_offset, | |||
BYTE | value | |||
) |
VPPGRegWrite Write into PPG register. Write PPG.
base\_adr | PPG VME base address | |
reg\_offset | PPG register | |
value | (8bit) |
Definition at line 111 of file vppg.c.
Referenced by VPPGBeamCtlPPG(), VPPGBeamOff(), VPPGBeamOn(), VPPGDisableExtTrig(), VPPGEnableExtTrig(), VPPGLoad(), VPPGPolmskWrite(), VPPGPolzCtlPPG(), VPPGPolzCtlVME(), VPPGPolzSet(), VPPGStartpatternWrite(), VPPGStartSequencer(), and VPPGStopSequencer().
DWORD VPPGStartpatternWrite | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr, | |||
const DWORD | pol | |||
) |
void VPPGStartSequencer | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
BYTE VPPGStatusRead | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
void VPPGStopSequencer | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
int ddd = 1 |
Definition at line 18 of file vppg.c.
Referenced by byteOutputOrder(), VPPGBeamCtlRegRead(), VPPGLoad(), VPPGPolmskRead(), VPPGPolmskWrite(), VPPGPolzFlip(), VPPGPolzRead(), VPPGRegRead(), and VPPGRegWrite().
FILE* ppginput |