source: rtems/c/src/lib/libcpu/powerpc/mpc55xx/include/esci.h @ 97fa2f1b

4.115
Last change on this file since 97fa2f1b was 97fa2f1b, checked in by Sebastian Huber <sebastian.huber@…>, on 08/31/11 at 15:50:30

2011-08-31 Sebastian Huber <sebastian.huber@…>

  • mpc55xx/include/fsl-mpc551x.h, mpc55xx/include/fsl-mpc555x.h, mpc55xx/include/fsl-mpc556x.h, mpc55xx/include/fsl-mpc567x.h, mpc55xx/include/regs-edma.h, mpc55xx/include/regs-mmu.h: New files.
  • Makefile.am, M preinstall.am: Reflect changes above.
  • mpc55xx/dspi/dspi.c: Update due to API changes.
  • mpc55xx/include/edma.h, mpc55xx/edma/edma.c: Rework to support multiple eDMA modules. Removed complex error interrupt handling.
  • mpc55xx/include/esci.h, mpc55xx/esci/esci.c: Support interrupt mode and printk(). Use configure options.
  • mpc55xx/include/irq.h: More defines. API changes.
  • mpc55xx/include/mpc55xx.h: API changes.
  • mpc55xx/include/reg-defs.h: Added register defines.
  • mpc55xx/include/regs.h: Use new register header files.
  • mpc55xx/include/siu.h: Fixed includes.
  • mpc55xx/misc/fmpll.S, mpc55xx/misc/copy.S, mpc55xx/misc/flash.S: Changed sections. API changes. Support MPC5674F.
  • 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 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.h>
31#include <rtems/termiostypes.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif /* __cplusplus */
36
37#define MPC55XX_ESCI_NUMBER 2
38
39typedef struct {
40        volatile struct ESCI_tag *regs;
41        struct rtems_termios_tty *tty;
42        const char *device_name;
43        rtems_vector_number irq_number;
44        int transmit_nest_level;
45        bool transmit_in_progress;
46        bool use_termios;
47        bool use_interrupts;
48} mpc55xx_esci_driver_entry;
49
50extern mpc55xx_esci_driver_entry mpc55xx_esci_driver_table [ /* MPC55XX_ESCI_NUMBER */ ];
51
52#ifdef __cplusplus
53}
54#endif /* __cplusplus */
55
56#endif /* LIBCPU_POWERPC_MPC55XX_ESCI_H */
Note: See TracBrowser for help on using the repository browser.