4.104.115
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @ingroup mpc55xx_esci |
---|
5 | * |
---|
6 | * @brief Header file for the Enhanced Serial Communication Interface (eSCI). |
---|
7 | */ |
---|
8 | |
---|
9 | /* |
---|
10 | * Copyright (c) 2008 |
---|
11 | * Embedded Brains GmbH |
---|
12 | * Obere Lagerstr. 30 |
---|
13 | * D-82178 Puchheim |
---|
14 | * Germany |
---|
15 | * rtems@embedded-brains.de |
---|
16 | * |
---|
17 | * The license and distribution terms for this file may be found in the file |
---|
18 | * LICENSE in this distribution or at http://www.rtems.com/license/LICENSE. |
---|
19 | */ |
---|
20 | |
---|
21 | /** |
---|
22 | * @defgroup mpc55xx_esci Enhanced Serial Communication Interface (eSCI). |
---|
23 | * |
---|
24 | * @ingroup mpc55xx |
---|
25 | */ |
---|
26 | |
---|
27 | #ifndef LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
28 | #define LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
29 | |
---|
30 | #include <rtems/termiostypes.h> |
---|
31 | |
---|
32 | #define MPC55XX_ESCI_NUMBER 2 |
---|
33 | |
---|
34 | struct ESCI_tag; |
---|
35 | |
---|
36 | typedef struct { |
---|
37 | volatile struct ESCI_tag *regs; |
---|
38 | const char *device_name; |
---|
39 | int use_termios; |
---|
40 | int use_interrupts; |
---|
41 | int console; |
---|
42 | struct rtems_termios_tty *tty; |
---|
43 | unsigned irq_number; |
---|
44 | } mpc55xx_esci_driver_entry; |
---|
45 | |
---|
46 | extern mpc55xx_esci_driver_entry mpc55xx_esci_driver_table [ /* MPC55XX_ESCI_NUMBER */ ]; |
---|
47 | |
---|
48 | #endif /* LIBCPU_POWERPC_MPC55XX_ESCI_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.