4.115
Last change
on this file since f3237a3c was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
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 |
---|
18 | * found in the file LICENSE in this distribution or at |
---|
19 | * http://www.rtems.org/license/LICENSE. |
---|
20 | */ |
---|
21 | |
---|
22 | /** |
---|
23 | * @defgroup mpc55xx_esci Enhanced Serial Communication Interface (eSCI). |
---|
24 | * |
---|
25 | * @ingroup mpc55xx |
---|
26 | */ |
---|
27 | |
---|
28 | #ifndef LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
29 | #define LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
30 | |
---|
31 | #include <rtems.h> |
---|
32 | #include <rtems/termiostypes.h> |
---|
33 | |
---|
34 | #ifdef __cplusplus |
---|
35 | extern "C" { |
---|
36 | #endif /* __cplusplus */ |
---|
37 | |
---|
38 | #define MPC55XX_ESCI_NUMBER 2 |
---|
39 | |
---|
40 | typedef struct { |
---|
41 | volatile struct ESCI_tag *regs; |
---|
42 | struct rtems_termios_tty *tty; |
---|
43 | const char *device_name; |
---|
44 | rtems_vector_number irq_number; |
---|
45 | int transmit_nest_level; |
---|
46 | bool transmit_in_progress; |
---|
47 | bool use_termios; |
---|
48 | bool use_interrupts; |
---|
49 | } mpc55xx_esci_driver_entry; |
---|
50 | |
---|
51 | extern mpc55xx_esci_driver_entry mpc55xx_esci_driver_table [ /* MPC55XX_ESCI_NUMBER */ ]; |
---|
52 | |
---|
53 | #ifdef __cplusplus |
---|
54 | } |
---|
55 | #endif /* __cplusplus */ |
---|
56 | |
---|
57 | #endif /* LIBCPU_POWERPC_MPC55XX_ESCI_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.