WinSystems EBC-LP Operation Manual page 73

Small, high-performance, embeddable computer system on a single board
Table of Contents

Advertisement

/* UIO48.C
Copyright 1996 by WinSystems Inc.
Permission is hereby granted to the purchaser of the WinSystems
UIO cards and CPU products incorporating the UIO device, to distribute
any binary file or files compiled using this source code directly or
in any work derived by the user from this file. In no case may the
source code, original or derived from this file, be distributed to any
third party except by explicit permission of WinSystems. This file is
distributed on an "As-is" basis and no warranty as to performance,
fitness of purposes, or any other warranty is expressed or implied.
In no case shall WinSystems be liable for any direct or indirect loss
or damage, real or consequential resulting from the usage of this
source code. It is the user's sole responsibility to determine
fitness for any considered purpose.
*/
/**************************************************************************
*
Name
: uio48.c
*
*
Project
*
*
Date
: October 30, 1996
*
*
Revision: 1.00
*
*
Author
*
****************************************************************************
*
*
Changes :
*
*
Date
*
________
*
10/30/96
*
*****************************************************************************
*/
#include <dos.h>
/* This global holds the base address of the UIO chip */
unsigned base_port;
/* This global array holds the image values of the last write to each I/O
ports. This allows bit manipulation routines to work without having to
actually do a read-modify-write to the I/O port.
*/
unsigned port_images[6];
/*===========================================================================
*
*
*
This function take a single argument :
*
*
*
io_address
:
*
*
: PCM-UIO48 Software Samples/Examples
: Steve Mottin
Revision
Description
________
______________________________________________
1.00
Created
INIT_IO
This is the base I/O address of the 16C48 UIO Chip
on the board.

Advertisement

Table of Contents
loading

Table of Contents