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  

pbc_sio.h File Reference

PBC serial port driver prototypes and definitions. More...

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

Included by dependency graph

Defines

#define PBC_SIO_TX_CHAR(__c__)
 Transmit character on UART.

#define PBC_SIO_TX_STRING(__s__)
 Transmit string on UART.

#define PBC_SIO_TX_HEX(__h__)
 Transmit hex number on UART.


Functions

void PBC_SioInitChannel ()
 Initalize single NS16550 serial port.

int printf (const char *,...)
 printf()


Detailed Description

PBC serial port driver prototypes and definitions.

Author:
: Ray Caperoon
Date:
: Tue Jun 17 13:41:27 2003
public header for boot serial port device driver

Date
2004/01/29 18:32:42
Source
/nfs/slac/g/glast/flight/archive/PBC/src/pbc_sio.h,v
Author
ray
Revision
1.4
Log
pbc_sio.h,v
Revision 1.4 2004/01/29 18:32:42 ray update documentation

Revision 1.3 2003/12/10 15:19:24 ray Moved Pbc_OdWords prototype here

Revision 1.2 2003/11/14 13:39:59 ray create inline-documentation. added DEBUG compilation options

Revision 1.1.1.1 2003/08/04 19:19:41 ray Create package PBC


Define Documentation

#define PBC_SIO_TX_CHAR __c__   ) 
 

Transmit character on UART.

Send a character out the PPCI UART. Implemented as a macro so the function can be compiled out of existence in a flight configuration.

Parameters:
__c__ A character to transmit
Return values:
none 

#define PBC_SIO_TX_HEX __h__   ) 
 

Transmit hex number on UART.

Send a hexidecimal number out the PPCI UART. Implemented as a macro so the function can be compiled out of existence in a flight configuration.

Parameters:
__h__ An integer to transmit
Return values:
none 

#define PBC_SIO_TX_STRING __s__   ) 
 

Transmit string on UART.

Send a null-terminated string out the PPCI UART. Implemented as a macro so the function can be compiled out of existence in a flight configuration.

Parameters:
__s__ A string to transmit
Return values:
none 


Function Documentation

void PBC_SioInitChannel void   ) 
 

Initalize single NS16550 serial port.

Setup the RAD750 NS16500-compatable serial port for transmission. The serial port is hardcoded to behave in a manner appropriate for the GLAST Primary Boot Code. The serial port will be operated in a single threaded polled manner.

Baud rate is hard coded to 57600 bps, 8 bits, 1 stop bit, no parity. The receiver is enabled, but no routines are written to make use of the serial port receiver.

Return values:
none 


Generated on Fri Jul 22 20:17:42 2005 by doxygen 1.3.3