RTEMS: bsps/arm/tms570/console/printk-support.c File Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Macros | Functions | Variables
printk-support.c File Reference
Board Support Packages » ARM » TMS570

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_BUT_5)

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

BSP_output_char_function_type 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.