RTEMS: bsps/sh/shsim/console/console-debugio.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Functions | Variables
console-debugio.c File Reference

Stub printk() support. More...

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

## Functions
void | console_outbyte_polled (int port, char ch)

## Variables
BSP_output_char_function_type | BSP_output_char = BSP_output_char_f
BSP_polling_getchar_function_type | BSP_poll_char = NULL

## Detailed Description

Stub printk() support.

## Function Documentation

## ◆ 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

## Variable Documentation

## ◆ BSP_output_char

BSP_output_char_function_type BSP_output_char = BSP_output_char_f

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 = NULL

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