typedef struct tagPT_WritePortByte
{
INT16U port;
INT16U ByteData;
} PT_WritePortByte, * LPT_WritePortByte;
PT_WritePortByte is used in function DRV_WritePortByte.
| Name | Direction | Description |
| port | input | The I/O port address to write data to. It must be within the address range allocated by the system. |
| ByteData | input | The 8-bit output data from specified I/O port. |
Notes:
• Digital I/O channel 0 – 7: Port 0
• Digital I/O channel 8 – 15: Port 1
• Digital I/O channel 9 – 23: Port 2
• Digital I/O channel 24 – 31: Port 3