5.4.6. PISODIO_OutputByte
This is function sends 8-bit data to the assigned I/O port.
•
Syntax:
void PISODIO_OutputByte(DWORD wPortAddr, WORD bOutputVal);
•
Parameters:
wPortAddr [In] The 32-bit I/O address, where the leading 16 bits are all 0.
Refer to the PISODIO_GetConfigAddressSpace function.
bOutputVal [In] The 16-bit data sent to the I/O port, where the leading 8 bits
are all 0.
•
Return:
None
5.4.7. PISODIO_InputByte
This function reads 8-bit data from the assigned I/O port.
•
Syntax:
WORD PISODIO_InputByte(DWORD wPortAddr);
•
Parameter:
wPortAddr [In] The 32-bit I/O address, where the leading 16 bits are all 0.
Refer to the PISODIO_GetConfigAddressSpace()function.
•
Return:
Returns 16-bit data, where the leading 8 bits are all 0.
PISO-P8R8U/P16R16U/PEX-P8R8i/P16R16i User Manual (Ver.1.6,Mar/2010, PMH-021-16) -
41
-