source: rtems/c/src/lib/libbsp/powerpc/score603e/console/85c30.h @ 31a5ec8

4.9
Last change on this file since 31a5ec8 was 31a5ec8, checked in by Jennifer Averett <Jennifer.Averett@…>, on May 5, 2009 at 4:18:06 PM

2009-05-05 Jennifer Averett <jennifer.averett@…>

  • Makefile.am, README, configure.ac, preinstall.am, PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c, console/85c30.h, console/console.c, console/consolebsp.h, console/tbl85c30.c, include/bsp.h, include/coverhd.h, include/gen2.h, include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h, irq/irq_init.c, start/start.S, startup/Hwr_init.c, startup/bspstart.c, timer/timer.c, tod/tod.c: Updated and tested with the latest powerpc isr source
  • irq/no_pic.c: New file.
  • irq/irq.c, startup/genpvec.c, startup/setvec.c, startup/vmeintr.c: Removed.
  • 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.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#ifndef __85c30_H
16#define __85c30_H
17
18/*
19 * Clock Speed Definations
20 */
21
22#define Z8530_x1_CLOCK                        0x00
23#define Z8530_x16_CLOCK                       0x40
24#define Z8530_x32_CLOCK                       0x80
25#define Z8530_x64_CLOCK                       0xC0
26
27/*
28 * Number of Stop Bits.
29 */
30#define Z8530_STOP_BITS_1                     0x04
31#define Z8530_STOP_BITS_1_AND_A_HALF          0x08
32#define Z8530_STOP_BITS_2                     0x0C
33
34/*
35 * PARITY
36 */
37#define Z8530_PARITY_NONE                     0x00
38#define Z8530_PARITY_ODD                      0x01
39#define Z8530_PARITY_EVEN                     0x03
40
41/*
42 * Character Bits
43 */
44#define Z8530_READ_CHARACTER_BITS_8           0xC0
45#define Z8530_READ_CHARACTER_BITS_7           0x40
46#define Z8530_READ_CHARACTER_BITS_6           0x80
47#define Z8530_READ_CHARACTER_BITS_5           0x00
48
49#define Z8530_WRITE_CHARACTER_BITS_8          0x60
50#define Z8530_WRITE_CHARACTER_BITS_7          0x20
51#define Z8530_WRITE_CHARACTER_BITS_6          0x40
52#define Z8530_WRITE_CHARACTER_BITS_5          0x00
53
54#endif
Note: See TracBrowser for help on using the repository browser.