annotate packages/hal/arm/aim711/current/include/hal_platform_ints.h @ 1637:eeaba976ebc6

New package for the ARM Industrial Module AIM 711 cloned from SNDS package.
author asl
date Fri, 14 May 2004 14:47:29 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1637
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
1 #ifndef CYGONCE_HAL_PLATFORM_INTS_H
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
2 #define CYGONCE_HAL_PLATFORM_INTS_H
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
3 //==========================================================================
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
4 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
5 // hal_platform_ints.h
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
6 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
7 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
8 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
9 //==========================================================================
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
10 //####ECOSGPLCOPYRIGHTBEGIN####
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
11 // -------------------------------------------
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
12 // This file is part of eCos, the Embedded Configurable Operating System.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
13 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
14 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
15 // eCos is free software; you can redistribute it and/or modify it under
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
16 // the terms of the GNU General Public License as published by the Free
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
17 // Software Foundation; either version 2 or (at your option) any later version.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
18 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
19 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
20 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
21 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
22 // for more details.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
23 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
24 // You should have received a copy of the GNU General Public License along
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
25 // with eCos; if not, write to the Free Software Foundation, Inc.,
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
26 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
27 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
28 // As a special exception, if other files instantiate templates or use macros
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
29 // or inline functions from this file, or you compile this file and link it
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
30 // with other works to produce a work based on this file, this file does not
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
31 // by itself cause the resulting work to be covered by the GNU General Public
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
32 // License. However the source code for this file must still be made available
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
33 // in accordance with section (3) of the GNU General Public License.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
34 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
35 // This exception does not invalidate any other reasons why a work based on
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
36 // this file might be covered by the GNU General Public License.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
37 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
38 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
39 // at http://sources.redhat.com/ecos/ecos-license/
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
40 // -------------------------------------------
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
41 //####ECOSGPLCOPYRIGHTEND####
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
42 //==========================================================================
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
43 //#####DESCRIPTIONBEGIN####
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
44 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
45 // Author(s): gthomas
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
46 // Contributors: gthomas, jskov
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
47 // Grant Edwards <grante@visi.com>
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
48 // Date: 2001-07-31
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
49 // Purpose:
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
50 // Description:
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
51 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
52 //####DESCRIPTIONEND####
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
53 //
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
54 //========================================================================*/
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
55
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
56 #define CYGNUM_HAL_INTERRUPT_EXT0 0
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
57 #define CYGNUM_HAL_INTERRUPT_EXT1 1
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
58 #define CYGNUM_HAL_INTERRUPT_EXT2 2
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
59 #define CYGNUM_HAL_INTERRUPT_EXT3 3
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
60 #define CYGNUM_HAL_INTERRUPT_UART0_TX 4
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
61 #define CYGNUM_HAL_INTERRUPT_UART0_RX 5
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
62 #if !defined(CYG_HAL_CPUTYPE)
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
63 #error CYG_HAL_CPUTYPE not defined
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
64 #endif
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
65 #if defined(CYG_HAL_CPUTYPE_KS32C5000A)
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
66 #define CYGNUM_HAL_INTERRUPT_UART0_ERR 6
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
67 #define CYGNUM_HAL_INTERRUPT_UART1_TX 7
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
68 #define CYGNUM_HAL_INTERRUPT_UART1_RX 8
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
69 #define CYGNUM_HAL_INTERRUPT_UART1_ERR 9
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
70 #define CYGNUM_HAL_INTERRUPT_DMA0 10
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
71 #define CYGNUM_HAL_INTERRUPT_DMA1 11
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
72 #define CYGNUM_HAL_INTERRUPT_TIMER0 12
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
73 #define CYGNUM_HAL_INTERRUPT_TIMER1 13
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
74 #define CYGNUM_HAL_INTERRUPT_HDLCA 14
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
75 #define CYGNUM_HAL_INTERRUPT_HDLCB 15
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
76 #else
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
77 #define CYGNUM_HAL_INTERRUPT_UART1_TX 6
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
78 #define CYGNUM_HAL_INTERRUPT_UART1_RX 7
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
79 #define CYGNUM_HAL_INTERRUPT_DMA0 8
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
80 #define CYGNUM_HAL_INTERRUPT_DMA1 9
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
81 #define CYGNUM_HAL_INTERRUPT_TIMER0 10
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
82 #define CYGNUM_HAL_INTERRUPT_TIMER1 11
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
83 #define CYGNUM_HAL_INTERRUPT_HDLCA_TX 12
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
84 #define CYGNUM_HAL_INTERRUPT_HDLCA_RX 13
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
85 #define CYGNUM_HAL_INTERRUPT_HDLCB_TX 14
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
86 #define CYGNUM_HAL_INTERRUPT_HDLCB_RX 15
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
87 #endif
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
88 #define CYGNUM_HAL_INTERRUPT_ETH_BDMA_TX 16
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
89 #define CYGNUM_HAL_INTERRUPT_ETH_BDMA_RX 17
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
90 #define CYGNUM_HAL_INTERRUPT_ETH_MAC_TX 18
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
91 #define CYGNUM_HAL_INTERRUPT_ETH_MAC_RX 19
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
92 #define CYGNUM_HAL_INTERRUPT_I2C 20
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
93
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
94 #define CYGNUM_HAL_ISR_MIN 0
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
95 #define CYGNUM_HAL_ISR_MAX 20
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
96 #define CYGNUM_HAL_ISR_COUNT 21
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
97
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
98 // The vector used by the Real time clock
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
99
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
100 #define CYGNUM_HAL_INTERRUPT_RTC CYGNUM_HAL_INTERRUPT_TIMER0
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
101
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
102 //----------------------------------------------------------------------------
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
103 // Reset.
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
104 externC void hal_reset(void);
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
105 #define HAL_PLATFORM_RESET() hal_reset()
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
106 #define HAL_PLATFORM_RESET_ENTRY 0x2000000
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
107
eeaba976ebc6 New package for the ARM Industrial Module AIM 711 cloned from
asl
parents:
diff changeset
108 #endif // CYGONCE_HAL_PLATFORM_INTS_H