RtWritePortBufferUchar
RtWritePortBufferUshort
RtWritePortBufferUlong
The RtWritePortBuffer* calls copy data from a buffer to an I/O port until the buffer has been emptied using the bytes you specify for each write operation.
Syntax
Copy
VOID RtWritePortBufferUchar(
PUCHAR PortAddress,
PUCHAR pBuffer,
ULONG nNumberOfBytes
);
VOID RtWritePortBufferUshort(
PUSHORT PortAddress,
PUSHORT pBuffer,
ULONG nNumberOfBytes
);
VOID RtWritePortBufferUlong(
PULONG PortAddress,
PULONG pBuffer,
ULONG nNumberOfBytes
);
Parameters
PortAddress
A Port I/O address cast as a pointer to the type of data being written.
pBuffer
A pointer to a buffer of one-, two-, or four-byte quanta.
nNumberOfBytes
The number of bytes to be read at one time. Acceptable values are 1, 2, and 4.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
Rtapi.h | rtkrnl.lib |
See Also: