45 cbmiec_iec_wait(IN PDEVICE_EXTENSION Pdx, IN UCHAR Line, IN UCHAR State, OUT PUCHAR Result)
72 FUNC_LEAVE_NTSTATUS_CONST(STATUS_INVALID_PARAMETER);
77 State = State ? mask : 0;
89 FUNC_LEAVE_NTSTATUS_CONST(STATUS_TIMEOUT);
100 FUNC_LEAVE_NTSTATUS(ntStatus);
VOID cbmiec_udelay(IN ULONG howlong)
Wait for a timeout.
IEC_TIMEOUTS libiec_global_timeouts
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.
#define PP_CLK_IN
The CLOCK IN bit.
BOOLEAN QueueShouldCancelCurrentIrp(PQUEUE Queue)
Should the current IRP be cancelled?
Internal functions and definitions of the libiec library.
VOID cbmiec_schedule_timeout(IN ULONG howlong)
Schedule a timeout.
ULONG T_8_IEC_WAIT_SHORT_DELAY
= 10 us: For cbmiec_iec_wait(): Granularity (short)
#define PP_DATA_IN
The DATA IN bit.
#define PP_ATN_IN
The ATN IN bit.
Definitions for the opencbm driver.
NTSTATUS cbmiec_iec_poll(IN PDEVICE_EXTENSION Pdx, OUT PUCHAR Result)
Polls the status of the lines on the IEC bus.
ULONG T_8_IEC_WAIT_LONG_DELAY
= 20 us: For cbmiec_iec_wait(): Granularity (long)
#define READ_PORT_UCHAR(_x_)
READ_PORT_UCHAR replacement for debugging.