RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
console-termios.h
1/*
2 * Copyright (c) 2014 embedded brains GmbH. All rights reserved.
3 *
4 * embedded brains GmbH
5 * Dornierstr. 4
6 * 82178 Puchheim
7 * Germany
8 * <rtems@embedded-brains.de>
9 *
10 * The license and distribution terms for this file may be
11 * found in the file LICENSE in this distribution or at
12 * http://www.rtems.org/license/LICENSE.
13 */
14
15#ifndef BSP_CONSOLE_TERMIOS_H
16#define BSP_CONSOLE_TERMIOS_H
17
18#include <rtems/termiostypes.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif /* __cplusplus */
23
55
59typedef struct {
66 const char *device_file;
67
72
77
82
88
93
103
109extern const size_t console_device_count;
110
113#ifdef __cplusplus
114}
115#endif /* __cplusplus */
116
117#endif /* BSP_CONSOLE_TERMIOS_H */
const char * device_file
The device file path.
Definition: console-termios.h:66
bool(* console_device_probe)(rtems_termios_device_context *context)
Console device probe function type.
Definition: console-termios.h:54
bool console_device_probe_default(rtems_termios_device_context *context)
Returns true and does nothing else.
Definition: console-termios-init.c:22
const rtems_termios_device_handler * handler
The Termios device handler.
Definition: console-termios.h:76
rtems_termios_device_context * context
The Termios device context.
Definition: console-termios.h:86
const console_device console_device_table[]
Table for console devices installed via console_initialize() during system initialization.
Definition: console-config.c:134
console_device_probe probe
The device probe function.
Definition: console-termios.h:71
const rtems_termios_device_flow * flow
The Termios device flow control handler.
Definition: console-termios.h:81
const size_t console_device_count
Count of entries in the console_device_table.
Definition: console-config.c:153
Console device information.
Definition: console-termios.h:59
Termios device context.
Definition: termiostypes.h:75
Termios device flow control handler.
Definition: termiostypes.h:248
Termios device handler.
Definition: termiostypes.h:141
unsigned context
Definition: tlb.h:1