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
|
Rev | Line | |
---|
[42b6dd2a] | 1 | /* 85c30.h |
---|
| 2 | * |
---|
[6128a4a] | 3 | * This include file contains z85c30 chip information. |
---|
[9c448e1] | 4 | * |
---|
[42b6dd2a] | 5 | * COPYRIGHT (c) 1989-2009. |
---|
[9c448e1] | 6 | * On-Line Applications Research Corporation (OAR). |
---|
| 7 | * |
---|
[42b6dd2a] | 8 | * The license and distribution terms for this file may be |
---|
| 9 | * found in the file LICENSE in this distribution or at |
---|
[c499856] | 10 | * http://www.rtems.org/license/LICENSE. |
---|
[9c448e1] | 11 | */ |
---|
| 12 | |
---|
| 13 | #ifndef __85c30_H |
---|
| 14 | #define __85c30_H |
---|
| 15 | |
---|
| 16 | /* |
---|
| 17 | * Clock Speed Definations |
---|
| 18 | */ |
---|
[6128a4a] | 19 | |
---|
[9c448e1] | 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.