parport.h

Go to the documentation of this file.
00001 //
00002 // PARPORT.H
00003 //
00004 // Handles all access to the parallel port
00005 //
00006 // Copyright (c) 2002, Jason Riffel - TotalEmbedded LLC.
00007 // All rights reserved.
00008 //
00009 // Redistribution and use in source and binary forms, with or without 
00010 // modification, are permitted provided that the following conditions 
00011 // are met:
00012 //
00013 // Redistributions of source code must retain the above copyright 
00014 // notice, this list of conditions and the following disclaimer. 
00015 //
00016 // Redistributions in binary form must reproduce the above copyright
00017 // notice, this list of conditions and the following disclaimer in 
00018 // the documentation and/or other materials provided with the
00019 // distribution. 
00020 //
00021 // Neither the name of TotalEmbedded nor the names of its 
00022 // contributors may be used to endorse or promote products derived 
00023 // from this software without specific prior written permission.
00024 // 
00025 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
00026 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
00027 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
00028 // FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
00029 // COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
00030 // INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
00031 // BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
00032 // LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
00033 // CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
00034 // LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
00035 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
00036 // POSSIBILITY OF SUCH DAMAGE.
00037 //
00038 
00039 #ifndef dPARPORT_H
00040 #define dPARPORT_H
00041 
00042 //
00043 // PROTOTYPES
00044 //
00045 void                 fPARPORT_Init (void);
00046 void          inline fPARPORT_Write(unsigned char uc_byte);
00047 unsigned char inline fPARPORT_Read (void);
00048 
00049 #endif // #ifndef dPARPORT_H

Generated on Fri Nov 5 07:24:46 2010 for ejtag debug tools for loongson 232 cpu by  doxygen 1.5.6