OpenCBM
Functions
eoi.c File Reference

Check if an EOI signal has been sent over 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_get_eoi (IN PDEVICE_EXTENSION Pdx, OUT PBOOLEAN Result)
 Check if an EOI signal has been sent over the IEC bus. More...
 
NTSTATUS cbmiec_clear_eoi (IN PDEVICE_EXTENSION Pdx)
 Reset the EOI state. More...
 

Detailed Description

Check if an EOI signal has been sent over the IEC bus.



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

Definition in file eoi.c.

Function Documentation

NTSTATUS cbmiec_clear_eoi ( IN PDEVICE_EXTENSION  Pdx)

Reset the EOI state.

Parameters
PdxPointer to the device extension.
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 61 of file eoi.c.

References FUNC_ENTER.

Referenced by cbm_execute_devicecontrol().

NTSTATUS cbmiec_get_eoi ( IN PDEVICE_EXTENSION  Pdx,
OUT PBOOLEAN  Result 
)

Check if an EOI signal has been sent over the IEC bus.

Parameters
PdxPointer to the device extension.
ResultPointer to the variable which will hold the return value. After return, it will contain 1 if there was an EOI, 0 otherwise.
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 40 of file eoi.c.

References FUNC_ENTER.

Referenced by cbm_execute_devicecontrol().