DSCSAM_DIOInputByte

This function reads in the data from the specified port and returns it in the location specified by the pointer to data.

BYTE DSCSAM_DIOInputByte(BYTE Port, BYTE* Data);

Name

Description

Port

0 = A, 1 = B for Elton, Stevie & Jethro

0 = A, 1 = B, 2 = C for Ziggy

Data

pointer to receive the data read from the port

Return Value

Error code or 0.

Last updated