|
|
Write some bytes to the IEC bus.
- Parameters:
-
| Pdx | Pointer to the device extension. |
| Buffer | Pointer to a buffer where the read bytes are written to. |
| Count | Maximum number of characters to read from the bus. |
| Sent | Pointer to the variable which will hold the number of written bytes. |
| Atn | If true: Sent the bytes with set ATN; else, with released ATN |
| Talk | If true: A talk command is to be sent (some special care has to be taken at the end of the transmission). |
- Returns:
- If the routine succeeds, it returns STATUS_SUCCESS. Otherwise, it returns one of the error status values.
ATN is released on return of this routine
Definition at line 55 of file i_rawwrite.c.
References cbmiec_block_irq(), CBMIEC_GET, CBMIEC_RELEASE, cbmiec_release_irq(), cbmiec_schedule_timeout(), cbmiec_send_byte(), CBMIEC_SET, cbmiec_udelay(), cbmiec_wait_for_listener(), DBG_ASSERT, DBG_ERROR, DBG_PREFIX, DBG_SUCCESS, DebugNtStatus(), _DEVICE_EXTENSION::Eoi, FUNC_ENTER, _DEVICE_EXTENSION::IrqCount, _DEVICE_EXTENSION::IsSMP, libiec_global_timeouts, PERF_EVENT_WRITE_BYTE, PERF_EVENT_WRITE_BYTE_NO, PP_ATN_OUT, PP_CLK_OUT, PP_DATA_IN, PP_DATA_OUT, QueueShouldCancelCurrentIrp(), IEC_TIMEOUTS::T_10_SEND_BEFORE_1ST_BYTE, IEC_TIMEOUTS::T_11_SEND_BEFORE_BYTE_DELAY, IEC_TIMEOUTS::T_12_SEND_AFTER_BYTE_DELAY, IEC_TIMEOUTS::T_13_SEND_TURN_AROUND_LISTENER_TALKER_T_TK, IEC_TIMEOUTS::T_14_SEND_AT_END_DELAY, IEC_TIMEOUTS::T_9_SEND_WAIT_DEVICES_T_AT, and IEC_TIMEOUTS::T_9_Times.
Referenced by cbmiec_close(), cbmiec_listen(), cbmiec_open(), cbmiec_raw_write(), cbmiec_talk(), cbmiec_unlisten(), and cbmiec_untalk(). |