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

poll.c File Reference

Write one byte to the IEC bus. More...

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

Go to the source code of this file.

Functions

NTSTATUS cbmiec_iec_poll (IN PDEVICE_EXTENSION Pdx, OUT PUCHAR Result)
 Polls the status of the lines on the IEC bus.


Detailed Description

Write one byte to the IEC bus.

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

Author:
Spiro Trikaliotis
Version:
Id
poll.c,v 1.9 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 poll.c.


Function Documentation

NTSTATUS cbmiec_iec_poll IN PDEVICE_EXTENSION  Pdx,
OUT PUCHAR  Result
 

Polls the status of the lines on the IEC bus.

Parameters:
Pdx Pointer to the device extension.
Result Pointer to a variable which will hold the value of the IEC bus
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 40 of file poll.c.

References FUNC_ENTER, IEC_LINE_ATN, IEC_LINE_CLOCK, IEC_LINE_DATA, IEC_LINE_RESET, IN_PORT, PP_ATN_IN, PP_CLK_IN, PP_DATA_IN, and PP_RESET_IN.

Referenced by cbm_execute_devicecontrol(), and cbmiec_iec_wait().


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