![]() |
Doxygen Documentation |
|||||
Package: |
DUTIL |
|||||
Version: |
V0-0-1 |
Marked: |
(not marked) |
|||
Constituent: |
start |
Tag: |
rad750 |
|||
#include "DUTIL/start.h"
#include "LCB/LIOX_cmd.h"
#include "LCB/LIOX_sync.h"
#include "DAB/reg.h"
#include "DAB/scru.h"
#include "DAB/spdu.h"
#include "DAB/sgem.h"
#include "DAB/sebm.h"
#include "DEM/TEM_reg.h"
#include "DEM/TEM_CC_sync.h"
#include "DEM/AEM_reg.h"
#include "DEM/AEM_CC_sync.h"
#include <stdio.h>
Include dependency graph for start.c:

Functions | |
| int | powerOn (LIOXs slh, unsigned priMask, unsigned redMask) |
| Configures the PDUs to power the required components of the LAT. | |
| int | configCRU (LIOXs slh, unsigned cptMask) |
| Configures the CRU to allow LATp C/R with the specified components and sets the LATp addresses of those cpts. | |
| int | configEBM (LIOXs slh, unsigned cptMask) |
| Configures the source and destination enables of the EBM. | |
| unsigned | getEPUaddr (LIOXs slh) |
| Returns address to use in the event contributions. | |
|
||||||||||||
|
Configures the CRU to allow LATp C/R with the specified components and sets the LATp addresses of those cpts. int configCRU(LIOXs slh, unsigned cptMask)
2) Only the TEMs, DAB and PDUs are configured by this function. 3) cptMask is laid out in the manner of the CRU command and response enable bit masks (LAT-TD-01547, figs 12 & 13). TEM0 = 0x00000001 TEM1 = 0x00000002 TEM2 = 0x00000004 : TEMe = 0x00004000 TEMf = 0x00008000 PDU0 = 0x00010000 PDU1 = 0x00020000 GEM = 0x00040000 AEM = 0x00080000 EBM = 0x00100000 SIU0 = 0x01000000 SIU1 = 0x02000000 SIUx = 0x04000000 EPU0 = 0x08000000 EPU1 = 0x10000000 EPU2 = 0x20000000 |
|
||||||||||||
|
Configures the source and destination enables of the EBM. int configEBM(LIOXs slh, unsigned cptMask)
TEM0 = 0x00000001 TEM1 = 0x00000002 TEM2 = 0x00000004 : TEMe = 0x00004000 TEMf = 0x00008000 GEM = 0x00010000 AEM = 0x00020000 SIU0 = 0x00040000 SIU1 = 0x00080000 EPU0 = 0x00100000 EPU1 = 0x00200000 EPU2 = 0x00400000 EPUx = 0x00800000 SSR = 0x01000000 |
|
|
Returns address to use in the event contributions.
|
|
||||||||||||||||
|
Configures the PDUs to power the required components of the LAT. int powerOn (LIOXs slh, unsigned priMask, unsigned redMask)
2) Function begins by verifying that the requested action would not result in simulataneously powering on a component from BOTH PDUs. The current state of the PDUs is considered, in addition to the contents of priMask and redMask. 3) Currently only the Primary EPU DC-DC converters are available. 4) Currently only the Primary ACD supply and converters are available. 5) priMask and redMask are laid out in the manner of the CRU command and response enable bit masks (LAT-TD-01547, figs 12 & 13). TEM0 = 0x00000001 TEM1 = 0x00000002 TEM2 = 0x00000004 : TEMe = 0x00004000 TEMf = 0x00008000 PDU0 = 0x00010000 PDU1 = 0x00020000 GEM = 0x00040000 AEM = 0x00080000 EBM = 0x00100000 SIU0 = 0x01000000 SIU1 = 0x02000000 SIUx = 0x04000000 EPU0 = 0x08000000 EPU1 = 0x10000000 EPU2 = 0x20000000 |
1.3.3