OpenCBM
Functions
testirq.c File Reference

Test for IRQ capabilities. More...

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

Go to the source code of this file.

Functions

NTSTATUS cbmiec_test_irq (IN PDEVICE_EXTENSION Pdx, OUT PVOID Buffer, IN ULONG BufferLength)
 Test for IRQ capabilities. More...
 

Detailed Description

Test for IRQ capabilities.



Author
Spiro Trikaliotis

Definition in file testirq.c.

Function Documentation

NTSTATUS cbmiec_test_irq ( IN PDEVICE_EXTENSION  Pdx,
OUT PVOID  Buffer,
IN ULONG  BufferLength 
)

Test for IRQ capabilities.

This function tests if the parallel port is able to generate interrupts.

Parameters
PdxPointer to the device extension of the device to be tested.
Buffer@@\xrefitem todo 169.
BufferLength@@\xrefitem todo 170.

Definition at line 41 of file testirq.c.

References CBMIEC_RELEASE, CBMIEC_SET, cbmiec_udelay(), DBG_ASSERT, DBG_ERROR, DBG_PREFIX, DbgFlags, CBMT_I_TESTIRQ::ErrAcquireIrq, CBMT_I_TESTIRQ::ErrIrqFallingEdge, CBMT_I_TESTIRQ::ErrIrqRisingEdge, FUNC_ENTER, LogErrorOnly, PP_ATN_OUT, PP_CLK_OUT, PP_DATA_OUT, PP_LP_IRQ, PP_RESET_OUT, READ_PORT_UCHAR, and WRITE_PORT_UCHAR.

Referenced by cbm_execute_devicecontrol().