INtime SDK Help
RtWritePort (iwin32)
INtime SDK v7.1 > About INtime > Alternate APIs > iwin32 API > iwin32 API > RtWritePort (iwin32)

Writes a specified number of bytes to an output port. RtWritePortXxx functions include:

Each function includes variants for Uchar, Ushort, and Ulong.

VOID RtWritePortBufferUchar(
    PUCHAR PortAddress,
    PUCHAR pBuffer,
    ULONG nNumberOfBytes
);

VOID RtWritePortBufferUshort(
    PUSHORT PortAddress,
    PUSHORT pBuffer,
    ULONG nNumberOfBytes
);

VOID RtWritePortBufferUlong(
    PULONG PortAddress,
    PULONG pBuffer,
    ULONG nNumberOfBytes
);

VOID RtWritePortUchar(
    PUCHAR PortAddress,
    UCHAR pBuffer
);

VOID RtWritePortUshort(
    PUSHORT PortAddress,
    USHORT pBuffer
);

VOID RtWritePortUlong(
    PULONG PortAddress,
    ULONG pBuffer
);

Parameters

PortAddress
Output port address, cast as a pointer to the type of data being written.
pBuffer
(Pointer to) a buffer that contains data to write to the port.
nNumberOfBytes
Size, in bytes, of pBuffer.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/iwin32.h iwin32.h iwin32.lib

Note

These functions operate in the real-time portion of your application.

See Also

iwin32 API, iwin32 Overview