blob: 04579a7c6fc8cb2604d71497c6a46d999a0113a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
/**
* @file
* @ingroup edb7312_interrupt
* @brief Interrupt definitions.
*/
/*
* Cirrus EP7312 Intererrupt handler
*
* Copyright (c) 2010 embedded brains GmbH.
*
* Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
*
* Copyright (c) 2002 by Charlie Steader <charlies@poliac.com>
*
* The license and distribution terms for this file may be
* found in the file LICENSE in this distribution or at
* http://www.rtems.org/license/LICENSE.
*/
#ifndef __IRQ_H__
#define __IRQ_H__
#ifndef __asm__
#include <rtems.h>
#include <rtems/irq.h>
#include <rtems/irq-extension.h>
#endif /* __asm__ */
/**
* @defgroup edb7312_interrupt Interrupt Support
* @ingroup arm_edb7312
* @brief Interrupt Support
* @{
*/
/**
* @name int interrupt status/mask register 1
* @{
*/
#define BSP_EXTFIQ 0
#define BSP_BLINT 1
#define BSP_WEINT 2
#define BSP_MCINT 3
#define BSP_CSINT 4
#define BSP_EINT1 5
#define BSP_EINT2 6
#define BSP_EINT3 7
#define BSP_TC1OI 8
#define BSP_TC2OI 9
#define BSP_RTCMI 10
#define BSP_TINT 11
#define BSP_UTXINT1 12
#define BSP_URXINT1 13
#define BSP_UMSINT 14
#define BSP_SSEOTI 15
/** @} */
/**
* @name int interrupt status/mask register 2
* @{
*/
#define BSP_KBDINT 16
#define BSP_SS2RX 17
#define BSP_SS2TX 18
#define BSP_UTXINT2 19
#define BSP_URXINT2 20
/** @} */
/**
* @name int interrupt status/mask register 3
* @{
*/
#define BSP_DAIINT 21
#define BSP_MAX_INT 22
/** @} */
#define BSP_INTERRUPT_VECTOR_MIN 0
#define BSP_INTERRUPT_VECTOR_MAX (BSP_MAX_INT - 1)
/** @} */
#endif /* __IRQ_H__ */
|