30 #define SET_RELEASE_LINE(_LineName, _PPName) \
31 if (Set & IEC_LINE_##_LineName) { set_mask |= PP_##_PPName##_OUT; } \
32 if (Release & IEC_LINE_##_LineName) { release_mask |= PP_##_PPName##_OUT; }
67 ntStatus = STATUS_SUCCESS;
78 ntStatus = STATUS_INVALID_PARAMETER;
83 ULONG release_mask = 0;
92 #define PP_BIDIR_OUT PP_LP_BIDIR
93 #define IEC_LINE_BIDIR PP_BIDIR_OUT
100 #endif // #ifdef TEST_BIDIR
106 FUNC_LEAVE_NTSTATUS(ntStatus );
#define SET_RELEASE_LINE(_LineName, _PPName)
set and release line
Internal functions and definitions of the libiec library.
Definitions for the opencbm driver.
#define CBMIEC_SET_RELEASE(_set, _rel)
NTSTATUS cbmiec_iec_setrelease(IN PDEVICE_EXTENSION Pdx, IN USHORT Set, IN USHORT Release)
Activate and deactive a line on the IEC serial bus.