|
mrfioc2
2.3.0
|
#include <math.h>#include <stdio.h>#include <string.h>#include <dbDefs.h>#include <errlog.h>#include <recGbl.h>#include <alarm.h>#include <registryFunction.h>#include <menuFtype.h>#include <aSubRecord.h>#include <epicsExport.h>
Go to the source code of this file.
Macros | |
| #define | NINPUTS (aSubRecordU - aSubRecordA) |
Functions | |
| long | seq_repeat (aSubRecord *prec) |
| Periodically repeat a given set of event codes and time delays. A bit mask selects if each possible repatition is actually populated. More... | |
| long | seq_merge (aSubRecord *prec) |
| Merge several sorted sequences. More... | |
| long | seq_shift (aSubRecord *prec) |
| Sequence shifter. More... | |
| long | seq_mask (aSubRecord *prec) |
| Sequence masker. More... | |
| epicsExportRegistrar (asub_evg) | |
| epicsExportAddress (int, seqConstDebug) | |
Variables | |
| int | seqConstDebug = 0 |
| #define NINPUTS (aSubRecordU - aSubRecordA) |
Definition at line 26 of file seqconst.c.
| epicsExportAddress | ( | int | , |
| seqConstDebug | |||
| ) |
| epicsExportRegistrar | ( | asub_evg | ) |
| long seq_mask | ( | aSubRecord * | prec | ) |
Sequence masker.
Inputs
| A | code waveform A UCHAR |
| B | event selection mask B ULONG ... |
Outputs
| VALA | Output code waveform VALA UCHAR |
Definition at line 407 of file seqconst.c.
| long seq_merge | ( | aSubRecord * | prec | ) |
Merge several sorted sequences.
Inputs
| A | First time waveform A DOUBLE |
| B | First code waveform B UCHAR |
| C | Second time waveform C DOUBLE |
| D | Second code waveform D UCHAR ... |
Outputs
Definition at line 190 of file seqconst.c.
| long seq_repeat | ( | aSubRecord * | prec | ) |
Periodically repeat a given set of event codes and time delays. A bit mask selects if each possible repatition is actually populated.
Inputs
| A | Overall period. In sequencer system ticks A ULONG |
| B | # of cycles in the overall period. B ULONG |
| C | Period bit mask. Bit 0 is first repetition. C ULONG |
| D | Cycle timestamp waveform D DOUBLE |
| E | Cycle event code waveform E UCHAR |
Outputs
| VALA | Cycle time. (Overall period / # of cycles) VALA DOUBLE |
| VALB | Period timestamp waveform VALB DOUBLE |
| VALC | Period event code waveform VALB UCHAR |
Definition at line 63 of file seqconst.c.
| long seq_shift | ( | aSubRecord * | prec | ) |
Sequence shifter.
Inputs
| A | Delay A DOUBLE |
| B | time waveform B DOUBLE ... |
Outputs
| VALA | Output time waveform VALA DOUBLE |
Definition at line 362 of file seqconst.c.
| int seqConstDebug = 0 |
Definition at line 28 of file seqconst.c.
1.8.13