OpenCBM
Functions
listen.c File Reference

Send a LISTEN 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_listen (IN PDEVICE_EXTENSION Pdx, IN UCHAR Device, IN UCHAR Secaddr)
 Send a LISTEN over the IEC bus. More...
 

Detailed Description

Send a LISTEN to the IEC bus.



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

Definition in file listen.c.

Function Documentation

NTSTATUS cbmiec_listen ( IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Device,
IN UCHAR  Secaddr 
)

Send a LISTEN over the IEC bus.

This function sends a listen on the IEC bus.

Parameters
PdxPointer to the device extension.
DeviceDevice (primary) address
SecaddrSecondary address
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 44 of file listen.c.

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

Referenced by cbm_execute_devicecontrol().