source: rtems/c/src/lib/libbsp/m68k/idp/include/leds.h @ 255178e

Last change on this file since 255178e was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on May 3, 2012 at 3:09:24 PM

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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