Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

ppread.c File Reference

Read a byte from the X[M|A]P1541-cable. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"

Go to the source code of this file.

Functions

NTSTATUS cbmiec_pp_read (IN PDEVICE_EXTENSION Pdx, OUT UCHAR *Return)
 Read a byte from the X[M|A]P1541 cable.


Detailed Description

Read a byte from the X[M|A]P1541-cable.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
ppread.c,v 1.10 2006/02/24 12:01:24 trikalio Exp

Authors:
Based on code from Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>

Definition in file ppread.c.


Function Documentation

NTSTATUS cbmiec_pp_read IN PDEVICE_EXTENSION  Pdx,
OUT UCHAR *  Return
 

Read a byte from the X[M|A]P1541 cable.

This function reads a byte from the parallel portion of the X[M|A]P1541 cable.

Parameters:
Pdx Pointer to the device extension.
Return Pointer to an UCHAR where the read byte is written to.
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 43 of file ppread.c.

References CBMIEC_SET, FUNC_ENTER, PAR_PORT, and PP_LP_BIDIR.

Referenced by cbm_execute_devicecontrol().


Generated on Sun Apr 30 18:46:14 2006 for opencbm by  doxygen 1.4.2