OpenCBM
|
Set a specific line on the IEC bus. More...
Go to the source code of this file.
Macros | |
#define | SET_RELEASE_LINE(_LineName, _PPName) |
set and release line More... | |
Functions | |
NTSTATUS | cbmiec_iec_setrelease (IN PDEVICE_EXTENSION Pdx, IN USHORT Set, IN USHORT Release) |
Activate and deactive a line on the IEC serial bus. More... | |
#define SET_RELEASE_LINE | ( | _LineName, | |
_PPName | |||
) |
set and release line
This macro only makes sense in the context of cbmiec_iec_setrelease().
Definition at line 30 of file setrelease.c.
Referenced by cbmiec_iec_setrelease().
NTSTATUS cbmiec_iec_setrelease | ( | IN PDEVICE_EXTENSION | Pdx, |
IN USHORT | Set, | ||
IN USHORT | Release | ||
) |
Activate and deactive a line on the IEC serial bus.
This function activates (sets to 0V, L) and deactivates (set to 5V, H) lines on the IEC serial bus.
Pdx | Pointer to the device extension. |
Set | The mask of which lines should be set. This has to be a bitwise OR between the constants IEC_DATA, IEC_CLOCK, IEC_ATN, and IEC_RESET |
Release | The mask of which lines should be released. This has to be a bitwise OR between the constants IEC_DATA, IEC_CLOCK, IEC_ATN, and IEC_RESET |
Definition at line 59 of file setrelease.c.
References CBMIEC_SET_RELEASE, DBG_ASSERT, DBG_PREFIX, FUNC_ENTER, FUNC_PARAM, IEC_LINE_ATN, IEC_LINE_CLOCK, IEC_LINE_DATA, IEC_LINE_RESET, and SET_RELEASE_LINE.
Referenced by cbm_execute_devicecontrol(), cbmiec_iec_release(), and cbmiec_iec_set().