OpenCBM
Functions
ppwrite.c File Reference

Write a byte to the X[M|A]P1541-cable. More...

#include <wdm.h>
#include "cbm_driver.h"
#include "i_iec.h"

Go to the source code of this file.

Functions

NTSTATUS cbmiec_pp_write (IN PDEVICE_EXTENSION Pdx, IN UCHAR Value)
 Write a byte to the X[M|A]P1541 cable. More...
 

Detailed Description

Write a byte to the X[M|A]P1541-cable.



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

Definition in file ppwrite.c.

Function Documentation

NTSTATUS cbmiec_pp_write ( IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Value 
)

Write a byte to the X[M|A]P1541 cable.

This function writes a byte to the parallel portion of the X[M|A]P1541 cable.

Parameters
PdxPointer to the device extension.
ValueValue to be written on the bus
Returns
If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.

Definition at line 42 of file ppwrite.c.

References CBMIEC_RELEASE, DBG_PREFIX, FUNC_ENTER, FUNC_PARAM, PAR_PORT, PP_LP_BIDIR, and WRITE_PORT_UCHAR.

Referenced by cbm_execute_devicecontrol(), and cbmiec_parallel_burst_write().