RTEMS
6.3
Toggle main menu visibility
Loading...
Searching...
No Matches
bsps
m68k
uC5282
include
tm27.h
1
/*
2
* @file
3
* @ingroup m68k_uC5282
4
* @brief Implementations for interrupt mechanisms for Time Test 27
5
*/
6
7
/*
8
* Copyright (c) 2005 Eric Norum <eric@norum.ca>
9
*
10
* COPYRIGHT (c) 2005-2014.
11
* On-Line Applications Research Corporation (OAR).
12
*
13
* The license and distribution terms for this file may be
14
* found in the file LICENSE in this distribution or at
15
* http://www.rtems.org/license/LICENSE.
16
*/
17
18
#ifndef _RTEMS_TMTEST27
19
#error "This is an RTEMS internal file you must not include directly."
20
#endif
21
22
#ifndef __tm27_h
23
#define __tm27_h
24
25
/*
26
* Stuff for Time Test 27
27
* Don't bother with hardware -- just use a software-interrupt
28
*/
29
30
#define MUST_WAIT_FOR_INTERRUPT 0
31
32
#define TM27_USE_VECTOR_HANDLER
33
34
#define Install_tm27_vector( handler ) set_vector( (handler), 35, 1 )
35
36
#define Cause_tm27_intr() asm volatile ("trap #3");
37
38
#define Clear_tm27_intr()
/* empty */
39
40
#define Lower_tm27_intr()
/* empty */
41
42
#endif
Generated by
1.18.0