GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > PBC / V4-5-0

Constituent: pbc_bootshell     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

bootcomm.h File Reference

Interface to the bootcomm functions. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Functions

const char * Pbc_CommType (void)
 Identify communication interface (SIU or EPU).

unsigned int Pbc_CommInit (void)
 Initialize 1553 boot communications.

unsigned int Pbc_CommPoll (const unsigned int buf_bytes, void *buf_p, unsigned int *cmd_bytes)
 Poll the 1553 interface for commands or telemetry.

void Pbc_CommShutdown (void)
 Shutdown 1553 boot communications.


Detailed Description

Interface to the bootcomm functions.

    CVS $Id: bootcomm.h,v 1.4 2005/05/17 20:39:13 dmay Exp $
    

Defines the interface to the PBC communication functions found in bootcomm.c.


Function Documentation

unsigned int Pbc_CommInit void   ) 
 

Initialize 1553 boot communications.

Configures 1553 communications for use during primary boot. The 1553 driver is initialized and started in a subroutine, though, so it can be retried repeatedly in the polling loop if it fails here.

Returns:
MSG code.

Here is the call graph for this function:

unsigned int Pbc_CommPoll const unsigned int  buf_bytes,
void *  buf_p,
unsigned int *  cmd_bytes
 

Poll the 1553 interface for commands or telemetry.

See if there is a command ready on the 1553 interface or if it is time to transmit another telemetry packet.

Command receipt is indicated by setting the return parameter cmd_bytes to a non-zero value.

Parameters:
buf_bytes (in) Size, in bytes, of command receive buffer.
buf_p (in) Pointer to buffer to receive command.
cmd_bytes (out) Size, in bytes, of command received.
Returns:
MSG code.

Here is the call graph for this function:

void Pbc_CommShutdown void   ) 
 

Shutdown 1553 boot communications.

Shuts down boot 1553 communications in preparation for secondary boot.

Returns:
Nothing.

const char* Pbc_CommType void   ) 
 

Identify communication interface (SIU or EPU).

Returns a string that identifies the type of boot communication interface that is in use (SIU or EPU).

Returns:
Pointer to an identification string.


Generated on Fri Jul 22 20:16:22 2005 by doxygen 1.3.3