RTEMS  5.1
Macros | Variables
console-config.c File Reference

Console Configuration. More...

#include <rtems/bspIo.h>
#include <libchip/serial.h>
#include <bspopts.h>
#include <bsp/uart.h>
#include <bsp/generic_or1k.h>

Macros

#define PORT_COUNT
 

Variables

console_tbl Console_Configuration_Ports []
 
unsigned long Console_Configuration_Count = PORT_COUNT
 
BSP_output_char_function_type BSP_output_char = output_char
 
BSP_polling_getchar_function_type BSP_poll_char = NULL
 

Detailed Description

Console Configuration.

Macro Definition Documentation

◆ PORT_COUNT

#define PORT_COUNT
Value:
console_tbl Console_Configuration_Ports[]
Definition: console-config.c:68

Variable Documentation

◆ BSP_output_char

BSP_output_char_function_type BSP_output_char = output_char

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.

◆ Console_Configuration_Count

unsigned long Console_Configuration_Count = PORT_COUNT

The number of serial ports defined in Console_Configuration_Ports

◆ Console_Configuration_Ports

console_tbl Console_Configuration_Ports[]
Initial value:
= {
{
.sDeviceName = "/dev/ttyS0",
.deviceType = SERIAL_CUSTOM,
.pDeviceFns = &generic_or1k_uart_fns,
.deviceProbe = NULL,
.pDeviceFlow = NULL,
.ulCtrlPort1 = OR1K_BSP_UART_BASE,
.ulCtrlPort2 = 0,
.ulClock = OR1K_UART_DEFAULT_BAUD,
.ulIntVector = OR1K_BSP_UART_IRQ
}
}
#define NULL
Requests a GPIO pin group configuration.
Definition: bestcomm_api.h:77

The statically configured serial port information tables which are used to initially populate the dynamic tables.