mos/com/include/terminal.h File Reference

Terminal driver for stdin and stdout - xmos processes. More...

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
#include "com.h"

Go to the source code of this file.

Functions

uint8_t terminal_init (void)
 Setup the serial port and register with the com layer.
uint8_t terminal_send (comBuf *buf)
 Send the buffer to the terminal.
uint8_t terminal_mode (uint8_t mode)
 Not implemented.
uint8_t terminal_ioctl (uint8_t request, va_list ap)
 Not implemented.


Detailed Description

Author:
Charles Gruenwald III
Date:
03/12/2004

Definition in file terminal.h.


Function Documentation

uint8_t terminal_ioctl uint8_t  request,
va_list  ap
 

Generic control function for doing things like changing the properties of the serial connection etc...

uint8_t terminal_mode uint8_t  mode  ) 
 

In linux this function is very important because we don't have any low power functionality, but you still must set to listen mode if you want to get packets.

Parameters:
mode 

uint8_t terminal_send comBuf buf  ) 
 

Parameters:
buf Buffer to use


Generated on Mon Nov 23 06:25:59 2009 for MANTIS by  doxygen 1.4.6