#include "BTU/TEM_ids.h"
Typedefs | |
| typedef _BFT_trg | BFT_trg |
| Typedef for struct _BFT_trg. More... | |
Functions | |
| int | BFT_configure (BFT_trg *trg, const struct _BFM_dsc *bfm, unsigned int temList, unsigned int l1tEnb, unsigned int treqEnb, unsigned int cpuTrg, unsigned int extTreq, unsigned int l1tIn, unsigned int l1tOut, unsigned int hfullEnb, unsigned int hfullClr, unsigned int l1tTmr) |
| Configures the triggering environment. \oaram bft The trigger control structure. More... | |
| BFT_trg * | BFT_get (void) |
| Gets a pointer to the trigger control block. More... | |
| unsigned int | BFT_init (BFT_trg *trg, const struct _BFM_dsc *bfm, unsigned int temList) |
| Initializes the trigger control structures. More... | |
| unsigned int | BFT_nominate (unsigned int temList, const unsigned int *priorityList) |
| Nominates a TEM to be able to generate triggers. More... | |
| int | BFT_trgTemSet (BFT_trg *trg, TEM_temId temId) |
| Sets the TEM to do self-triggering. More... | |
| int | BFT_globalL1tArm (const BFT_trg *trg) |
| Arms the global trigger. More... | |
| int | BFT_globalL1tDisarm (const BFT_trg *trg) |
| Disarms the global trigger. More... | |
| int | BFT_globalL1tEnable (const BFT_trg *trg) |
| Enables the global trigger. More... | |
| int | BFT_globalL1tDisable (const BFT_trg *trg) |
| Disables the global trigger. More... | |
| int | BFT_burstTrigger (const BFT_trg *trg, unsigned int trgCnt, unsigned int trgDelay) |
| Issues trgCnt triggers at a time interval of trgDelay. More... | |
| int | BFT_cyclicTrigger (const BFT_trg *trg, int cyclicCnt, unsigned int cyclicTime, int burstCnt, unsigned int burstTime) |
| Issues a burst of triggers at a periodic rate. More... | |
| int | BFT_throttleClr (const BFT_trg *trg, unsigned int temList, const int *thresholds) |
| Relieves the FIFO HALF throttling on TEMs that have occupancies that dip below a specified level. More... | |
| unsigned int | BFT_temsCpuBsyWrite (const BFT_trg *bft, unsigned int temList, unsigned int cpuBsy) |
| Writes the CPU BSY bit for the select TEMs. More... | |
| unsigned int | BFT_temsGblL1tArmWrite (const BFT_trg *bft, unsigned int temList, unsigned int gblL1tArm) |
| Writes the Global L1t Arm for the selected TEMs. More... | |
| unsigned int | BFT_temsGblL1tEnbWrite (const BFT_trg *bft, unsigned int temList, unsigned int gblL1tEnb) |
| Writes the Global L1t Enable for the selected TEMs. More... | |
| unsigned int | BFT_temsL1tEnbWrite (const BFT_trg *bft, unsigned int temList, unsigned int l1tEnb) |
| Writes the L1T ENABLE bit for the select TEMs. More... | |
| unsigned int | BFT_temsL1tTmrWrite (const BFT_trg *bft, unsigned int temList, unsigned int l1tTmr) |
| Writes the L1T TMR bit for the select TEMs. More... | |
| unsigned int | BFT_temsExtTreqEnbWrite (const BFT_trg *bft, unsigned int temList, unsigned int treqEnb) |
| Writes the EXT TREQ ENABLE bit for the select TEMs. More... | |
| unsigned int | BFT_temsL1tInWrite (const BFT_trg *bft, unsigned int temList, unsigned int l1tIn) |
| Writes the L1T IN mask for the select TEMs. More... | |
| unsigned int | BFT_temsL1tOutWrite (const BFT_trg *bft, unsigned int temList, unsigned int l1tOut) |
| Writes the L1T OUT mask for the select TEMs. More... | |
| unsigned int | BFT_temsTreqEnbWrite (const BFT_trg *bft, unsigned int temList, unsigned int l1tTmr) |
| Writes the TREQ ENABLE bit for the select TEMs. More... | |
|
|
Typedef for struct _BFT_trg.
This mainly serves as a cache of information relevant to setting up the trigger and doing test triggering. The meat of the this structure is the array of pointers to the TEM trigger structure. This structure contains the address of relevant registers and the bit offsets needed to perform the various triggering functions. A single TEM must appointed to issue self-generated triggers. A pointer to this TEM's trigger structure is assigned. Various trigger routines may use this information when generating triggers. |
|
||||||||||||||||
|
Issues trgCnt triggers at a time interval of trgDelay.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Configures the triggering environment. \oaram bft The trigger control structure.
This routine does some autoconfiguring if inputs are set to -1. If temList is specified as -1, then the list of READIED TEMs is used. If cpuTreq = -1, then the best 'candidate' is chosen from the input list. The best candidate is 1. If only one TEM is chosen, then that's it. 2. If multiple TEMs are chosen, its the ACD if available. If the ACD is not available, then error. If cpuTreq is a list of CPUs, the same rules apply, except in case 2, no error is returned, but no default self trigger is established. If l1tEnb = -1, then the same rules apply as in the cpuTreq. If l1tEnb is a specific list, then you get what you chose. |
|
||||||||||||||||||||||||
|
Issues a burst of triggers at a periodic rate.
|
|
|
Gets a pointer to the trigger control block.
|
|
|
Arms the global trigger.
|
|
|
Disables the global trigger.
|
|
|
Disarms the global trigger.
|
|
|
Enables the global trigger.
|
|
||||||||||||||||
|
Initializes the trigger control structures.
|
|
||||||||||||
|
Nominates a TEM to be able to generate triggers.
|
|
||||||||||||||||
|
Writes the CPU BSY bit for the select TEMs.
|
|
||||||||||||||||
|
Writes the EXT TREQ ENABLE bit for the select TEMs.
|
|
||||||||||||||||
|
Writes the Global L1t Arm for the selected TEMs.
|
|
||||||||||||||||
|
Writes the Global L1t Enable for the selected TEMs.
|
|
||||||||||||||||
|
Writes the L1T ENABLE bit for the select TEMs.
|
|
||||||||||||||||
|
Writes the L1T IN mask for the select TEMs.
|
|
||||||||||||||||
|
Writes the L1T OUT mask for the select TEMs.
|
|
||||||||||||||||
|
Writes the L1T TMR bit for the select TEMs.
|
|
||||||||||||||||
|
Writes the TREQ ENABLE bit for the select TEMs.
|
|
||||||||||||||||
|
Relieves the FIFO HALF throttling on TEMs that have occupancies that dip below a specified level.
|
|
||||||||||||
|
Sets the TEM to do self-triggering.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002