BFLinux
|
Data Structures | |
struct | tCITSentry |
Entry structure used to read and write sequences to the Timing Sequencer. More... | |
Typedefs | |
typedef struct tCITSentry * | tCITSEP |
Enumerations | |
enum | tCItimingSequencerEnum { kBFTSmain = 0, kBFTSaux } |
Timing Sequencer selection. More... | |
enum | tCITStrigTypeEnum { kBFTSTtrigSel = 0, kBFTSTencASel, kBFTSTencBSel, kBFTSTencQSel, kBFTSTgatedTrig, kBFTSTencDivSel, kBFTSTsof, kBFTSTeof, kBFTSTsol, kBFTSTeol, kBFTSTfvalRising, kBFTSTfvalFalling, kBFTSTlvalRising, kBFTSTlvalFalling, kBFTSTunknown = 0xffff } |
Timing Sequencer Trigger sources. More... | |
enum | tCITSwaitForTriggerTypeEnum { kBFTSnoWait = 0, kBFTSrisingEdge, kBFTSfallingEdge, kBFTShigh, kBFTSlow, kBFTSeitherEdge, kBFTStrigUnknown = 0xffff } |
Trigger conditions for Timing Sequencer. More... | |
Functions | |
tCIRC | CiTSsequenceGet (tCIp cip, tCIU32 sequencer, tCIU32 *tsArySize, tCITSEP tsAry, tCIU32 *preTrigCT0, tCIU32 *preTrigCT1, tCIU32 *preTrigCT2, tCIU32 *preTrigCT3, tCIU32 *triggerSrc) |
Get a sequence in the timing sequencer, returning an array of segments. More... | |
tCIRC | CiTSsequenceSet (tCIp cip, tCIU32 sequencer, tCIU32 tsArySize, tCITSEP tsAry, tCIU32 preTrigCT0, tCIU32 preTrigCT1, tCIU32 preTrigCT2, tCIU32 preTrigCT3, tCIU32 triggerSrc) |
Set a sequence in the timing sequencer from a linked list of segments. More... | |
typedef struct tCITSentry * tCITSEP |
enum tCITStrigTypeEnum |
Timing Sequencer Trigger sources.
tCIRC CiTSsequenceGet | ( | tCIp | cip, |
tCIU32 | sequencer, | ||
tCIU32 * | tsArySize, | ||
tCITSEP | tsAry, | ||
tCIU32 * | preTrigCT0, | ||
tCIU32 * | preTrigCT1, | ||
tCIU32 * | preTrigCT2, | ||
tCIU32 * | preTrigCT3, | ||
tCIU32 * | triggerSrc | ||
) |
Get a sequence in the timing sequencer, returning an array of segments.
NOTE: The inputs state change times are in milliseconds, this can translate into more than one TS segment. For example: 234.56789 msec = 2 ** 100 ms + 345 ** 100 us + 678 ** 100 nsec The granularity is 100 nanoseconds
NOTE: Passing a NULL pointer to any return argument is allowed. However, tsAry requires tsArySize, which contains the array size as an input (and the required array size as an output). If the input tsAry length N is too short, the first N segments will be returned.
cip | this frame grabber |
sequencer | which sequencer to read (kBFTSmain, kBFTSaux) |
tsArySize | as input, tsAry byte size. rtns tsAry byte size required. |
tsAry | rtns array of sequence segments |
preTrigCT0 | rtns value of CT0 before trigger |
preTrigCT1 | rtns value of CT1 before trigger |
preTrigCT2 | rtns value of CT2 before trigger |
preTrigCT3 | rtns value of CT3 before trigger |
triggerSrc | rtns trigger source (see tCITStrigTypeEnum) |
tCIRC CiTSsequenceSet | ( | tCIp | cip, |
tCIU32 | sequencer, | ||
tCIU32 | tsArySize, | ||
tCITSEP | tsAry, | ||
tCIU32 | preTrigCT0, | ||
tCIU32 | preTrigCT1, | ||
tCIU32 | preTrigCT2, | ||
tCIU32 | preTrigCT3, | ||
tCIU32 | triggerSrc | ||
) |
Set a sequence in the timing sequencer from a linked list of segments.
NOTE: The inputs state change times are in milliseconds, this can translate into more than one TS segment. For example: 234.56789 msec = 2 ** 100 ms + 345 ** 100 us + 678 ** 100 nsec The granularity is 100 nanoseconds
cip | this frame grabber |
sequencer | which sequencer to program (kBFTSmain, kBFTSaux) |
tsArySize | tsAry byte size |
tsAry | array of sequence segments |
preTrigCT0 | value of CT0 before trigger |
preTrigCT1 | value of CT1 before trigger |
preTrigCT2 | value of CT2 before trigger |
preTrigCT3 | value of CT3 before trigger |
triggerSrc | trigger source (see tCITStrigTypeEnum) |