5
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * @ingroup tll6527m_tm27 |
---|
4 | * @brief Interrupt mechanisms for tm27 test. |
---|
5 | */ |
---|
6 | |
---|
7 | /* |
---|
8 | * tm27.h |
---|
9 | * |
---|
10 | * COPYRIGHT (c) 2010 by ECE Northeastern University. |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license |
---|
15 | */ |
---|
16 | |
---|
17 | #ifndef _RTEMS_TMTEST27 |
---|
18 | #error "This is an RTEMS internal file you must not include directly." |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifndef __tm27_h |
---|
22 | #define __tm27_h |
---|
23 | |
---|
24 | /** |
---|
25 | * @defgroup tll6527m_tm27 TM27 Test Support |
---|
26 | * @ingroup RTEMSBSPsBfinTLL6527M |
---|
27 | * @brief Interrupt Mechanisms for TM27 |
---|
28 | * @{ |
---|
29 | */ |
---|
30 | |
---|
31 | /* |
---|
32 | * Define the interrupt mechanism for Time Test 27 |
---|
33 | */ |
---|
34 | |
---|
35 | #define MUST_WAIT_FOR_INTERRUPT 0 |
---|
36 | |
---|
37 | #define Install_tm27_vector(handler) \ |
---|
38 | { \ |
---|
39 | set_vector( handler, 0x06, 1 ); \ |
---|
40 | } |
---|
41 | |
---|
42 | #define Cause_tm27_intr() asm volatile("raise 0x06;" : :); |
---|
43 | |
---|
44 | #define Clear_tm27_intr() /* empty */ |
---|
45 | |
---|
46 | #define Lower_tm27_intr() /* empty */ |
---|
47 | |
---|
48 | /** @} */ |
---|
49 | |
---|
50 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.