RTEMS  5.0.0
Functions
console-polled.h File Reference

Go to the source code of this file.

Functions

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

Detailed Description

This file defines the interfaces between the single port polled console framework and the BSP.

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.

◆ console_initialize_hardware()

void console_initialize_hardware ( void  )

This method is invoked to initialize the console hardware device(s).

◆ console_outbyte_polled()

void console_outbyte_polled ( int  port,
char  ch 
)

This method polls the specified character ch to the specified console port.

Parameters
[in]portis the output port
[in]chis the character to print