Go to the source code of this file.
#define VPPG_BYTES_PER_WORD 0x02 |
#define VPPG_CLEAR_ADDR_COUNTER 0x04 |
#define VPPG_DEFAULT_PPG_POL_MSK 0x000000 |
#define VPPG_LOAD_MEM 0x06 |
#define VPPG_OUTP_POL_MASK_HI 0x08 |
#define VPPG_OUTP_POL_MASK_LO 0x0A |
#define VPPG_OUTP_POL_MASK_MID 0x09 |
#define VPPG_POLZ_SOURCE_CONTROL 0x0B |
#define VPPG_PPG_RESET_REG 0x00 |
#define VPPG_PPG_START_TRIGGER 0x01 |
Definition at line 34 of file vppg.h.
Referenced by VPPGStartpatternWrite(), and VPPGStartSequencer().
#define VPPG_PROGRAMMING_FIN 0x07 |
#define VPPG_TOGL_MEM_DEVICE 0x03 |
#define VPPG_VME_BEAM_CTL 0X19 |
Definition at line 57 of file vppg.h.
Referenced by VPPGBeamCtlPPG(), VPPGBeamCtlRegRead(), VPPGBeamOff(), and VPPGBeamOn().
#define VPPG_VME_POLZ_SET 0x0C |
#define VPPG_VME_READ_STAT_REG 0x0D |
#define VPPG_VME_RESET 0x0F |
#define VPPG_VME_TRIG_CTL 0X1A |
Definition at line 58 of file vppg.h.
Referenced by VPPGDisableExtTrig(), VPPGEnableExtTrig(), and VPPGExtTrigRegRead().
typedef struct parameters PARAM |
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 | |||
) |
void VPPGDisable | ( | 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().
void VPPGEnable | ( | MVME_INTERFACE * | mvme, | |
const DWORD | base_adr | |||
) |
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().
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 | |||
) |