source: rtems/c/src/lib/libbsp/m68k/idp/include/leds.h @ 254b4450

4.104.114.84.95
Last change on this file since 254b4450 was eb5a7e07, checked in by Joel Sherrill <joel.sherrill@…>, on 10/06/95 at 20:48:38

fixed missing CVS IDs

  • Property mode set to 100644
File size: 618 bytes
Line 
1/*
2 * leds.c -- control the led's on a Motorola mc68ec0x0 board.
3 *           Written by rob@cygnus.com (Rob Savoye)
4 *
5 *  $Id$
6 */
7
8#ifndef __LEDS_H__
9#define __LEDS_H__
10
11#define LED_ADDR        0xd00003
12#define LED_0           ~0x1
13#define LED_1           ~0x2
14#define LED_2           ~0x4
15#define LED_3           ~0x8
16#define LED_4           ~0x10
17#define LED_5           ~0x20
18#define LED_6           ~0x40
19#define LED_7           ~0x80
20#define LEDS_OFF        0xff
21#define LEDS_ON         0x0
22
23#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
24
25extern void led_putnum( char );
26
27#endif          /* __LEDS_H__ */
Note: See TracBrowser for help on using the repository browser.