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

wait.c File Reference

Wait for listener to signal that it is ready to receive. More...

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

Go to the source code of this file.

Functions

NTSTATUS cbmiec_iec_wait (IN PDEVICE_EXTENSION Pdx, IN UCHAR Line, IN UCHAR State, OUT PUCHAR Result)
 Wait for a line to have a specific value.


Detailed Description

Wait for listener to signal that it is ready to receive.

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

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


Function Documentation

NTSTATUS cbmiec_iec_wait IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Line,
IN UCHAR  State,
OUT PUCHAR  Result
 

Wait for a line to have a specific value.

This function waits until a listener is ready.

Parameters:
Pdx Pointer to the device extension.
Line Which line has to be monitored (one of IEC_DATA, IEC_CLOCK, IEC_ATN)
State Type of wait
=1: Wait until that line is set
=0: Wait until that line is unset
Result Pointer to a variable which will hold the value of the IEC bus

Definition at line 46 of file wait.c.

References cbmiec_iec_poll(), cbmiec_schedule_timeout(), cbmiec_udelay(), DBG_PREFIX, FUNC_ENTER, FUNC_PARAM, IEC_LINE_ATN, IEC_LINE_CLOCK, IEC_LINE_DATA, IN_PORT, libiec_global_timeouts, PP_ATN_IN, PP_CLK_IN, PP_DATA_IN, QueueShouldCancelCurrentIrp(), IEC_TIMEOUTS::T_8_IEC_WAIT_LONG_DELAY, and IEC_TIMEOUTS::T_8_IEC_WAIT_SHORT_DELAY.

Referenced by cbm_execute_devicecontrol().


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