dscDIOSetConfig()
Sets the DIO port configuration for future DIO operations.
Note: See board user manual or 82C55 datasheet (if applicable) for config_byte details.
Name
Description
board
The handle of the board to operate on
config
The value(s) used to configure the digital I/O ports. See each board's user manual for information on the number and definition of the configuration bytes. 0x0- Port A&B input
0x1-Port A output, B input
0x2-Port A input, B output
0x0- Port A&B output
Return Value
Error code or 0.
Last updated
Was this helpful?