Doxygen Documentation

Main Index

Package Index

Package:

DUTIL

Version:

V0-2-4

Marked:

(not marked)

Constituent:

switch

Tag:

mcp750


Interface   Compound List   File List   Compound Members   File Members  

switch.c File Reference

Switches on the PDU and GASU. More...

#include "PBS/PBS.h"

Include dependency graph for switch.c:

Include dependency graph

Functions

void switchOn (unsigned redPWR, unsigned redPDU, unsigned redGASU)
 Select primary or redundant SC power, and poweron the PDU and GASU.

void switchOff (void)
 Switch off all power.

void pid_init (void)
 Initialise the pids so they can be flashed.

void pid_flash (unsigned period)
 Turn on/off pid 0 if it is off/on.


Detailed Description

Switches on the PDU and GASU.

Author:
James Swain -- jswain@slac.stanford.edu

Function Documentation

void pid_flash unsigned  period  ) 
 

Turn on/off pid 0 if it is off/on.

Parameters:
period Period of the pulse

void switchOn unsigned  redPWR,
unsigned  redPDU,
unsigned  redGASU
 

Select primary or redundant SC power, and poweron the PDU and GASU.

Parameters:
redPWR 0 -> use primary SC power, 1 -> use redundant
redPDU 0 -> use primary (PDU_0), 1 -> use redundant (PDU_1)
redGASU 0 -> use primary GASU, 1 -> use redundant GASU


Generated on Thu Apr 8 05:04:16 2004 by doxygen 1.3.3