RTEMS 6.3
Loading...
Searching...
No Matches
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
 This function pointer references the kernel character output implementation.
BSP_polling_getchar_function_type BSP_poll_char = bsp_in_char

Detailed Description

TTY driver for the serial ports on the LEON.

Function Documentation

◆ console_inbyte_nonblocking()

int console_inbyte_nonblocking ( int port)

This method polls the specified port for an input character. console port.

Parameters
[in]portis the input port
Returns
This method returns the character read of -1 if there is no data.