RTEMS  5.0.0
Macros | Functions | Variables
printk-support.c File Reference

definitions of serial line for debugging. More...

#include <rtems/bspIo.h>
#include <rtems/sysinit.h>
#include <stdint.h>
#include <string.h>
#include <bsp/tms570-sci.h>
#include <bsp/tms570-sci-driver.h>

Macros

#define TMS570_CONSOLE   (&driver_context_table[0])
 

Functions

 RTEMS_SYSINIT_ITEM (tms570_debug_console_init, RTEMS_SYSINIT_BSP_START, RTEMS_SYSINIT_ORDER_LAST)
 

Variables

BSP_output_char_function_type BSP_output_char
 
BSP_polling_getchar_function_type BSP_poll_char = tms570_debug_console_in
 

Detailed Description

definitions of serial line for debugging.

Variable Documentation

◆ BSP_output_char

Initial value:
=
tms570_debug_console_early_init

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

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