source: rtems/bsps/m68k/uC5282/include/tm27.h @ e4cc56a7

Last change on this file since e4cc56a7 was 753873e5, checked in by Joel Sherrill <joel@…>, on 03/22/22 at 20:03:30

Update Eric Norum contact info and start to normalize file headers

  • Property mode set to 100644
File size: 889 bytes
Line 
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 Install_tm27_vector( handler ) set_vector( (handler), 35, 1 )
33
34#define Cause_tm27_intr()       asm volatile ("trap #3");
35
36#define Clear_tm27_intr() /* empty */
37
38#define Lower_tm27_intr() /* empty */
39
40#endif
Note: See TracBrowser for help on using the repository browser.