source: trunk/libs/newlib/src/libgloss/pa/op50n.h @ 480

Last change on this file since 480 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.1 KB
RevLine 
[444]1/* op50n.h -- Support definitions for the Oki OP50N target board
2 *
3 * Copyright (c) 1995 Cygnus Support
4 * The authors hereby grant permission to use, copy, modify, distribute,
5 * and license this software and its documentation for any purpose, provided
6 * that existing copyright notices are retained in all copies and that this
7 * notice is included verbatim in any distributions. No written agreement,
8 * license, or royalty fee is required for any of the authorized uses.
9 * Modifications to this software may be copyrighted by their authors
10 * and need not follow the licensing terms described here, provided that
11 * the new terms are clearly indicated on the first page of each file where
12 * they apply.
13 */
14
15#ifndef __OP50N_H__
16#define __OP50N_H__
17
18#define LED_ADDR        0xfc000059
19#define LED_0           0x1
20#define LED_1           0x2
21#define LED_2           0x4
22#define LED_3           0x8
23#define LED_4           0x10
24
25extern void led_putnum( char );
26#define FUDGE(x) ((x >= 0xa && x <= 0xf) ? (x + 'a') & 0x7f : (x + '0') & 0x7f)
27
28#endif          /* __OP50N_H__ */
29
30
31
Note: See TracBrowser for help on using the repository browser.