RTEMS  5.1
Functions | Variables
debugputs.c File Reference

TTY driver for the serial ports on the LEON. More...

#include <bsp.h>
#include <rtems/bspIo.h>

Functions

void console_outbyte_polled (int port, unsigned char ch)
 
int console_inbyte_nonblocking (int port)
 

Variables

BSP_output_char_function_type BSP_output_char = bsp_out_char
 
BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char
 

Detailed Description

TTY driver for the serial ports on the LEON.

Variable Documentation

◆ BSP_output_char

BSP_output_char_function_type BSP_output_char = bsp_out_char

This variable points to the BSP provided method to output a character for the purposes of debug output.

It must output only the specific character. It must not perform character translations, e.g. "\n" to "\r\n".

◆ BSP_poll_char

BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char

This variable points to the BSP provided method to input a character for the purposes of debug input.