RTEMS  5.1
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]portis the output port
[in]chis 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

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