Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:22:49

0001 /**
0002  * @file
0003  * @ingroup edb7312_interrupt
0004  * @brief Interrupt definitions.
0005  */
0006 
0007 /*
0008  * Cirrus EP7312 Intererrupt handler
0009  *
0010  * Copyright (c) 2010 embedded brains GmbH & Co. KG
0011  *
0012  * Copyright (c) 2002 by Jay Monkman <jtm@smoothsmoothie.com>
0013  *
0014  * Copyright (c) 2002 by Charlie Steader <charlies@poliac.com>
0015  *
0016  *  The license and distribution terms for this file may be
0017  *  found in the file LICENSE in this distribution or at
0018  *  http://www.rtems.org/license/LICENSE.
0019 */
0020 
0021 #ifndef __IRQ_H__
0022 #define __IRQ_H__
0023 
0024 #ifndef __asm__
0025 
0026 #include <rtems.h>
0027 #include <rtems/irq.h>
0028 #include <rtems/irq-extension.h>
0029 
0030 #endif /* __asm__ */
0031 
0032 /**
0033  * @defgroup edb7312_interrupt Interrupt Support
0034  * @ingroup RTEMSBSPsARMEDB7312
0035  * @brief Interrupt Support
0036  * @{
0037  */
0038 
0039 /**
0040  * @name int interrupt status/mask register 1
0041  * @{
0042  */
0043 
0044 #define BSP_EXTFIQ     0
0045 #define BSP_BLINT      1
0046 #define BSP_WEINT      2
0047 #define BSP_MCINT      3
0048 #define BSP_CSINT      4
0049 #define BSP_EINT1      5
0050 #define BSP_EINT2      6
0051 #define BSP_EINT3      7
0052 #define BSP_TC1OI      8
0053 #define BSP_TC2OI      9
0054 #define BSP_RTCMI     10
0055 #define BSP_TINT      11
0056 #define BSP_UTXINT1   12
0057 #define BSP_URXINT1   13
0058 #define BSP_UMSINT    14
0059 #define BSP_SSEOTI    15
0060 
0061 /** @} */
0062 
0063 /**
0064  * @name int interrupt status/mask register 2
0065  * @{
0066  */
0067 
0068 #define BSP_KBDINT    16
0069 #define BSP_SS2RX     17
0070 #define BSP_SS2TX     18
0071 #define BSP_UTXINT2   19
0072 #define BSP_URXINT2   20
0073 
0074 /** @} */
0075 
0076 /**
0077  * @name int interrupt status/mask register 3
0078  * @{
0079  */
0080 
0081 #define BSP_DAIINT    21
0082 #define BSP_MAX_INT   22
0083 
0084 /** @} */
0085 
0086 #define BSP_INTERRUPT_VECTOR_COUNT BSP_MAX_INT
0087 
0088 /** @} */
0089 
0090 #endif /* __IRQ_H__ */