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

4.115
Last change on this file since ad65fc7f was ad65fc7f, checked in by Joel Sherrill <joel.sherrill@…>, on 04/20/11 at 20:23:39

2011-04-20 Rohan Kangralkar <rkangral@…>

PR 1781/bsps

  • ChangeLog?, Makefile.am, README, bsp_specs, configure.ac, preinstall.am, times, console/console.c, include/bsp.h, include/cplb.h, include/tm27.h, make/custom/TLL6527M.cfg, startup/bspstart.c, startup/linkcmds: New files. Initial port for the TLL6527Mboard that contains blackfin 52X range of processors. Used eZKit533 as a reference for building the port.
  • Property mode set to 100644
File size: 698 bytes
Line 
1/*
2 *  tm27.h
3 *
4 * COPYRIGHT (c) 2010 by ECE Northeastern University.
5 *
6 * The license and distribution terms for this file may be
7 * found in the file LICENSE in this distribution or at
8 * http://www.rtems.com/license
9 *
10 *  $Id$
11 */
12
13#ifndef _RTEMS_TMTEST27
14#error "This is an RTEMS internal file you must not include directly."
15#endif
16
17#ifndef __tm27_h
18#define __tm27_h
19
20/*
21 *  Define the interrupt mechanism for Time Test 27
22 */
23
24#define MUST_WAIT_FOR_INTERRUPT 0
25
26#define Install_tm27_vector(handler) \
27{ \
28  set_vector( handler, 0x06, 1 ); \
29}
30
31#define Cause_tm27_intr() asm volatile("raise 0x06;" : :);
32
33#define Clear_tm27_intr() /* empty */
34
35#define Lower_tm27_intr() /* empty */
36
37#endif
Note: See TracBrowser for help on using the repository browser.