RTEMS
5.1
bsps
powerpc
qoriq
include
bsp
uart-bridge.h
Go to the documentation of this file.
1
9
/*
10
* Copyright (c) 2011-2015 embedded brains GmbH. All rights reserved.
11
*
12
* embedded brains GmbH
13
* Dornierstr. 4
14
* 82178 Puchheim
15
* Germany
16
* <rtems@embedded-brains.de>
17
*
18
* The license and distribution terms for this file may be
19
* found in the file LICENSE in this distribution or at
20
* http://www.rtems.org/license/LICENSE.
21
*/
22
23
#ifndef LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H
24
#define LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H
25
26
#include <
rtems/termiostypes.h
>
27
28
#include <
bsp/intercom.h
>
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
/* __cplusplus */
33
44
typedef
struct
{
45
rtems_termios_device_context
base;
46
const
char
*device_path;
47
intercom_type type;
48
rtems_id
transmit_task;
49
rtems_chain_control
transmit_fifo;
50
}
uart_bridge_master_context
;
51
52
typedef
struct
{
53
rtems_termios_device_context
base;
54
struct
rtems_termios_tty
*tty;
55
intercom_type type;
56
rtems_id
transmit_task;
57
rtems_chain_control
transmit_fifo;
58
}
uart_bridge_slave_context
;
59
60
bool
qoriq_uart_bridge_master_probe(
rtems_termios_device_context
*base);
61
62
extern
const
rtems_termios_device_handler
qoriq_uart_bridge_master;
63
64
extern
const
rtems_termios_device_handler
qoriq_uart_bridge_slave;
65
68
#ifdef __cplusplus
69
}
70
#endif
/* __cplusplus */
71
72
#endif
/* LIBBSP_POWERPC_QORIQ_UART_BRIDGE_H */
intercom.h
Inter-Processor Communication API.
uart_bridge_master_context
Definition:
uart-bridge.h:44
rtems_termios_device_context
Termios device context.
Definition:
termiostypes.h:75
Chain_Control
Definition:
chain.h:86
termiostypes.h
rtems_termios_tty
Definition:
termiostypes.h:283
rtems_id
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition:
types.h:83
uart_bridge_slave_context
Definition:
uart-bridge.h:52
rtems_termios_device_handler
Termios device handler.
Definition:
termiostypes.h:141
Generated by
1.8.15