source:
rtems/c/src/lib/libbsp/powerpc/ppcn_60x/console/z85c30cfg.h
@
bad8092c
Last change on this file since bad8092c was bad8092c, checked in by Ralf Corsepius <ralf.corsepius@…>, on 03/31/04 at 03:49:17 | |
---|---|
|
|
File size: 1.4 KB |
Line | |
---|---|
1 | /* z85c30cfg.h |
2 | * |
3 | * This include file contains all console driver definations for the z85c30 |
4 | * |
5 | * COPYRIGHT (c) 1998 by Radstone Technology |
6 | * |
7 | * |
8 | * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY |
9 | * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
10 | * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK |
11 | * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU. |
12 | * |
13 | * You are hereby granted permission to use, copy, modify, and distribute |
14 | * this file, provided that this notice, plus the above copyright notice |
15 | * and disclaimer, appears in all copies. Radstone Technology will provide |
16 | * no support for this code. |
17 | * |
18 | * COPYRIGHT (c) 1989-1997. |
19 | * On-Line Applications Research Corporation (OAR). |
20 | * |
21 | * The license and distribution terms for this file may in |
22 | * the file LICENSE in this distribution or at |
23 | * http://www.rtems.com/license/LICENSE. |
24 | * |
25 | * $Id$ |
26 | */ |
27 | |
28 | #ifndef __Z85C30_CONFIG_H |
29 | #define __Z85C30_CONFIG_H |
30 | |
31 | #ifdef __cplusplus |
32 | extern "C" { |
33 | #endif |
34 | |
35 | /* |
36 | * Board specific register access routines |
37 | */ |
38 | |
39 | uint8_t Read_85c30_register( |
40 | uint32_t ulCtrlPort, |
41 | uint8_t ucRegNum |
42 | ); |
43 | |
44 | void Write_85c30_register( |
45 | uint32_t ulCtrlPort, |
46 | uint8_t ucRegNum, |
47 | uint8_t ucData |
48 | ); |
49 | |
50 | uint8_t Read_85c30_data( |
51 | uint32_t ulDataPort |
52 | ); |
53 | |
54 | void Write_85c30_data( |
55 | uint32_t ulDataPort, |
56 | uint8_t ucData |
57 | ); |
58 | |
59 | #ifdef __cplusplus |
60 | } |
61 | #endif |
62 | |
63 | #endif |
Note: See TracBrowser
for help on using the repository browser.