OpenCBM
Functions
sendbyte.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

BOOLEAN cbmiec_send_byte (IN PDEVICE_EXTENSION Pdx, IN UCHAR Byte)
 Write one byte to the IEC bus. More...
 

Detailed Description

Write one byte 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 sendbyte.c.

Function Documentation

BOOLEAN cbmiec_send_byte ( IN PDEVICE_EXTENSION  Pdx,
IN UCHAR  Byte 
)

Write one byte to the IEC bus.

Parameters
PdxPointer to the device extension.
ByteThe byte to be output
Returns
If the routine succeeds - that is, the listener acknowledged the byte -, it returns TRUE. Otherwise, it returns FALSE.

Definition at line 39 of file sendbyte.c.

References cbmiec_block_irq(), CBMIEC_GET, CBMIEC_RELEASE, cbmiec_release_irq(), CBMIEC_SET, CBMIEC_SET_RELEASE, cbmiec_udelay(), DBG_PREFIX, DBG_SUCCESS, FUNC_ENTER, FUNC_LEAVE_BOOLEAN, libiec_global_timeouts, PERF_EVENT_WRITE_BIT_NO, PP_CLK_OUT, PP_DATA_IN, PP_DATA_OUT, IEC_TIMEOUTS::T_15_SEND_BEFORE_BIT_DELAY_T_S, IEC_TIMEOUTS::T_16_SEND_BIT_TIME_T_V, IEC_TIMEOUTS::T_17_SEND_FRAME_HANDSHAKE_T_F, and IEC_TIMEOUTS::T_17_Times.

Referenced by cbmiec_i_raw_write().