source: rtems/c/src/lib/libbsp/bfin/TLL6527M/include/tm27.h @ 0c09ccf3

4.11
Last change on this file since 0c09ccf3 was 0c09ccf3, checked in by Daniel Ramirez <javamonn@…>, on Dec 24, 2013 at 10:14:15 AM

bfin_TLL6527: added new doxygen

  • Property mode set to 100644
File size: 913 bytes
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.com/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 bfin_tll6527m
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.