Skip to content. | Skip to navigation

Personal tools

lcu/ser1190.h

lcu/ser1190.h

lcu/ser1190.h

/////////////////////////////////////////////////////////////////////////////
// SER1190.h
//
//  Last updated: 04/15/2006
//
// This module contains hardware-specific serial communication
// routines for the SBC1190.
/////////////////////////////////////////////////////////////////////////////

/////////////////////////////////////////////////////////////////////////////
// This routine waits for a character to be received in a
// port (1=COMA 0=COMB and returns 1 when is ready.
int SerialCharReady(int Port);

////////////////////////////////////////////////////////////////////////////
// This routine waits for a character to be received in a
// port (1=COMA 0=COMB) and returns that character.
unsigned char SerialGetChar(int Port);
// Returns: character received in the COM-B port

/////////////////////////////////////////////////////////////////////////////
// SerialPutChar
// Sends a single character out the a port (1=COMA 0=COMB)
void SerialPutChar(int Port,unsigned char Data);
// Data: character to be sent out
// This routine don't check for errors

/////////////////////////////////////////////////////////////////////////////
// This routine prints a null-terminated string out to a port (1=COMA 0=COMB)
void SerialPutString(int Port,const char *Data);
// On entry: Data should point to a null-terminated string

////////////////////////////////////////////////////////////////////////////
// Initialize a port (1=COMA 0=COMB)
// to BaudRate = 19200, 8 data bits, 1 stop bit, no parity
// CPU SPEED is 25MHZ
void InitComPort(int Port);

Generated by GNU Enscript 1.6.5.2.
Document Actions