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

i_rawread.c File Reference

Read some bytes from the IEC bus, internal version. More...

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

Go to the source code of this file.

Functions

NTSTATUS cbmiec_i_raw_read (IN PDEVICE_EXTENSION Pdx, OUT UCHAR *Buffer, ULONG Count, OUT ULONG *Received)
 Read some bytes from the IEC bus.


Detailed Description

Read some bytes from the IEC bus, internal version.

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

Author:
Spiro Trikaliotis
Version:
Id
i_rawread.c,v 1.31 2006/03/12 16:33:52 trikalio Exp

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

Definition in file i_rawread.c.


Function Documentation

NTSTATUS cbmiec_i_raw_read IN PDEVICE_EXTENSION  Pdx,
OUT UCHAR *  Buffer,
ULONG  Count,
OUT ULONG *  Received
 

Read some bytes from the IEC bus.

Parameters:
Pdx Pointer to the device extension.
Buffer Pointer to a buffer where the read bytes are written to.
Count Maximum number of characters to read from the bus.
Received Pointer to the variable which will hold the read bytes.
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 46 of file i_rawread.c.

References cbmiec_block_irq(), CBMIEC_GET, CBMIEC_RELEASE, cbmiec_release_irq(), cbmiec_schedule_timeout(), CBMIEC_SET, cbmiec_udelay(), DBG_ASSERT, DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, FUNC_ENTER, libiec_global_timeouts, PERF_EVENT_READ_BIT_NO, PERF_EVENT_READ_BYTE, PERF_EVENT_READ_BYTE_NO, PP_CLK_IN, PP_DATA_IN, PP_DATA_OUT, QueueShouldCancelCurrentIrp(), IEC_TIMEOUTS::T_1_RECV_WAIT_CLK_LOW_DATA_READY_GRANU, IEC_TIMEOUTS::T_2_RECV_WAIT_CLK_HIGH_T_NE, IEC_TIMEOUTS::T_2_Times, IEC_TIMEOUTS::T_3_RECV_EOI_RECOGNIZED, IEC_TIMEOUTS::T_4_RECV_WAIT_CLK_HIGH_AFTER_EOI_GRANU, IEC_TIMEOUTS::T_4_Times, IEC_TIMEOUTS::T_5_RECV_BIT_WAIT_CLK_HIGH, IEC_TIMEOUTS::T_5_Times, IEC_TIMEOUTS::T_6_RECV_BIT_WAIT_CLK_LOW, IEC_TIMEOUTS::T_6_Times, and IEC_TIMEOUTS::T_7_RECV_INTER_BYTE_DELAY.

Referenced by cbmiec_raw_read().


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