source: rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h @ 0e27119

4.11
Last change on this file since 0e27119 was 0e27119, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 11, 2012 at 8:52:18 PM

Use proper 3 line form of license text

  • 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.com/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
35extern "C" {
36#endif /* __cplusplus */
37
38#define MPC55XX_ESCI_NUMBER 2
39
40typedef 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
51extern 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.