RTEMS: bsps/include/bsp/console-polled.h File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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] | port | is 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] | port | is the output port
  [in] | ch | is the character to print