4.115
Last change
on this file since c499856 was
c499856,
checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47
|
Change all references of rtems.com to rtems.org.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | /* 85c30.h |
---|
2 | * |
---|
3 | * This include file contains z85c30 chip information. |
---|
4 | * |
---|
5 | * COPYRIGHT (c) 1989-2009. |
---|
6 | * On-Line Applications Research Corporation (OAR). |
---|
7 | * |
---|
8 | * The license and distribution terms for this file may be |
---|
9 | * found in the file LICENSE in this distribution or at |
---|
10 | * http://www.rtems.org/license/LICENSE. |
---|
11 | */ |
---|
12 | |
---|
13 | #ifndef __85c30_H |
---|
14 | #define __85c30_H |
---|
15 | |
---|
16 | /* |
---|
17 | * Clock Speed Definations |
---|
18 | */ |
---|
19 | |
---|
20 | #define Z8530_x1_CLOCK 0x00 |
---|
21 | #define Z8530_x16_CLOCK 0x40 |
---|
22 | #define Z8530_x32_CLOCK 0x80 |
---|
23 | #define Z8530_x64_CLOCK 0xC0 |
---|
24 | |
---|
25 | /* |
---|
26 | * Number of Stop Bits. |
---|
27 | */ |
---|
28 | #define Z8530_STOP_BITS_1 0x04 |
---|
29 | #define Z8530_STOP_BITS_1_AND_A_HALF 0x08 |
---|
30 | #define Z8530_STOP_BITS_2 0x0C |
---|
31 | |
---|
32 | /* |
---|
33 | * PARITY |
---|
34 | */ |
---|
35 | #define Z8530_PARITY_NONE 0x00 |
---|
36 | #define Z8530_PARITY_ODD 0x01 |
---|
37 | #define Z8530_PARITY_EVEN 0x03 |
---|
38 | |
---|
39 | /* |
---|
40 | * Character Bits |
---|
41 | */ |
---|
42 | #define Z8530_READ_CHARACTER_BITS_8 0xC0 |
---|
43 | #define Z8530_READ_CHARACTER_BITS_7 0x40 |
---|
44 | #define Z8530_READ_CHARACTER_BITS_6 0x80 |
---|
45 | #define Z8530_READ_CHARACTER_BITS_5 0x00 |
---|
46 | |
---|
47 | #define Z8530_WRITE_CHARACTER_BITS_8 0x60 |
---|
48 | #define Z8530_WRITE_CHARACTER_BITS_7 0x20 |
---|
49 | #define Z8530_WRITE_CHARACTER_BITS_6 0x40 |
---|
50 | #define Z8530_WRITE_CHARACTER_BITS_5 0x00 |
---|
51 | |
---|
52 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.