GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> VXW / V7-2-0 > vxw_flight / rad750
#include <vxWorks.h>
#include <sysLib.h>
#include "Memmap.h"
#include "drv/ppci/asmFns.h"
#include "drv/ppci/ppciRegs.h"
#include "drv/ppci/sysSuromLib.h"
Defines | |
#define | CMD_BLK_ADDR MEMMAP_EMC_PARAM_ADRS |
Functions | |
STATUS | sysSuromSetupClkChange (UINT32 clkCtrlReg, UINT32 pllReg, UINT32 mpSigMask) |
Setup EMC clock change parameters. | |
STATUS | sysSuromSignalServiceRequest (void) |
Do EMC clock change operation. |
-------------------------------------------------------------------------
Description:
These services provide an interface to SUROM facilities (i.e., services, data). See sysSuromLib.h for more detail.
Change History:
Date Pgm Description -------- --- ------------------------------------------------------ 09/25/02 DS Created.
-----------------------------------------------------------------------------
#define CMD_BLK_ADDR MEMMAP_EMC_PARAM_ADRS |
The address of the EMC command block memory area.
STATUS sysSuromSetupClkChange | ( | UINT32 | clkCtrlReg, | |
UINT32 | pllReg, | |||
UINT32 | mpSigMask | |||
) |
Setup EMC clock change parameters.
This routine writes the the EMC SUROM command block to request changes to the CPU clock settings. No parameter validation is performed by this routine and sysSuromSignalServiceRequest() must be called to signal EMC SUROM to service the Change Clock request.
clkCtrlReg | - Value to be written to the PPCI CAT core Clock Control reg. | |
pllReg | - Value to be written to the PPCI CAT core PLL Setup/Config regs (e.g., 0x17 for a PLL of 3.5). | |
mpSigMask | - If 0, reset 750 after clock change. Otherwise, value written to Multiprocessor Signaling reg after clock change. |
STATUS sysSuromSignalServiceRequest | ( | void | ) |
Do EMC clock change operation.
This routine signals EMC SUROM to service the request in it's command block.