Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

libiec/openclose.c File Reference

Write one byte to 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_open (IN PDEVICE_EXTENSION Pdx, IN UCHAR Device, IN UCHAR Secaddr)
 Open a file on the IEC bus.
NTSTATUS cbmiec_close (IN PDEVICE_EXTENSION Pdx, IN UCHAR Device, IN UCHAR Secaddr)
 Close a file on the IEC bus.


Detailed Description

Write one byte to the IEC bus.

**************************************************************

Author:
Spiro Trikaliotis
Version:
Id
openclose.c,v 1.11 2006/03/04 13:54:46 trikalio Exp

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

Definition in file libiec/openclose.c.


Function Documentation

NTSTATUS cbmiec_close IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Device,
IN UCHAR  Secaddr
 

Close a file on the IEC bus.

This function opens a file on the IEC bus.

Parameters:
Pdx Pointer to the device extension.
Device Device (primary) address
Secaddr Secondary address
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 82 of file libiec/openclose.c.

References cbmiec_i_raw_write(), DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM.

Referenced by cbm_execute_devicecontrol().

NTSTATUS cbmiec_open IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Device,
IN UCHAR  Secaddr
 

Open a file on the IEC bus.

This function opens a file on the IEC bus.

Parameters:
Pdx Pointer to the device extension.
Device Device (primary) address
Secaddr Secondary address
Returns:
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 45 of file libiec/openclose.c.

References cbmiec_i_raw_write(), DBG_PREFIX, FUNC_ENTER, and FUNC_PARAM.

Referenced by cbm_execute_devicecontrol().


Generated on Sun Apr 30 18:46:13 2006 for opencbm by  doxygen 1.4.2