1 /* 2 * Copyright (c) 1992 OMRON Corporation. 3 * Copyright (c) 1992, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * OMRON Corporation. 8 * 9 * %sccs.include.redist.c% 10 * 11 * @(#)pioreg.h 8.1 (Berkeley) 06/10/93 12 */ 13 14 /* 15 * PIO definitions 16 * OMRON: $Id: pioreg.h,v 1.1 92/05/27 14:33:18 moti Exp $ 17 * by Shigeto Mochida 18 */ 19 20 #define PIO0_ADDR 0x49000000 /* pio0 address */ 21 #define PIO1_ADDR 0x4D000000 /* pio1 address */ 22 23 #define PIO_MODED 0xB6 /* pio mode set */ 24 25 struct pio { 26 unsigned char a_port; 27 unsigned char b_port; 28 unsigned char c_port; 29 unsigned char control_port; 30 }; 31