OpenCBM
set.c
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or
3  * modify it under the terms of the GNU General Public License
4  * as published by the Free Software Foundation; either version
5  * 2 of the License, or (at your option) any later version.
6  *
7  * Copyright 1999-2004 Michael Klein <michael(dot)klein(at)puffin(dot)lb(dot)shuttle(dot)de>
8  * Copyright 2001-2004 Spiro Trikaliotis
9  *
10  */
11 
22 #include <wdm.h>
23 #include "cbm_driver.h"
24 #include "i_iec.h"
25 
41 NTSTATUS
42 cbmiec_iec_set(IN PDEVICE_EXTENSION Pdx, IN USHORT Line)
43 {
44  FUNC_ENTER();
45 
46  FUNC_LEAVE_NTSTATUS(cbmiec_iec_setrelease(Pdx, Line, 0));
47 }
NTSTATUS cbmiec_iec_setrelease(IN PDEVICE_EXTENSION Pdx, IN USHORT Set, IN USHORT Release)
Activate and deactive a line on the IEC serial bus.
Definition: setrelease.c:59
Internal functions and definitions of the libiec library.
NTSTATUS cbmiec_iec_set(IN PDEVICE_EXTENSION Pdx, IN USHORT Line)
Set a specific line on the IEC bus.
Definition: set.c:42
#define FUNC_ENTER()
Definition: debug.h:347
Definitions for the opencbm driver.