4.115
Last change
on this file since 0e27119 was
0e27119,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/12 at 20:52:18
|
Use proper 3 line form of license text
|
-
Property mode set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[574fb67] | 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 | * |
---|
[0e27119] | 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.com/license/LICENSE. |
---|
[574fb67] | 20 | */ |
---|
| 21 | |
---|
[359e537] | 22 | /** |
---|
[574fb67] | 23 | * @defgroup mpc55xx_esci Enhanced Serial Communication Interface (eSCI). |
---|
[359e537] | 24 | * |
---|
[574fb67] | 25 | * @ingroup mpc55xx |
---|
| 26 | */ |
---|
| 27 | |
---|
| 28 | #ifndef LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
| 29 | #define LIBCPU_POWERPC_MPC55XX_ESCI_H |
---|
| 30 | |
---|
[97fa2f1b] | 31 | #include <rtems.h> |
---|
[574fb67] | 32 | #include <rtems/termiostypes.h> |
---|
| 33 | |
---|
[c1188b41] | 34 | #ifdef __cplusplus |
---|
| 35 | extern "C" { |
---|
| 36 | #endif /* __cplusplus */ |
---|
| 37 | |
---|
[574fb67] | 38 | #define MPC55XX_ESCI_NUMBER 2 |
---|
| 39 | |
---|
| 40 | typedef struct { |
---|
| 41 | volatile struct ESCI_tag *regs; |
---|
| 42 | struct rtems_termios_tty *tty; |
---|
[97fa2f1b] | 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; |
---|
[574fb67] | 49 | } mpc55xx_esci_driver_entry; |
---|
| 50 | |
---|
| 51 | extern mpc55xx_esci_driver_entry mpc55xx_esci_driver_table [ /* MPC55XX_ESCI_NUMBER */ ]; |
---|
| 52 | |
---|
[c1188b41] | 53 | #ifdef __cplusplus |
---|
| 54 | } |
---|
| 55 | #endif /* __cplusplus */ |
---|
| 56 | |
---|
[574fb67] | 57 | #endif /* LIBCPU_POWERPC_MPC55XX_ESCI_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.