BYTE dscRegisterRead(DSCB board, WORD address, BYTE* data);
Name | Description |
---|---|
board | The handle of the board to operate on |
address | I/O port on the board to read from. This is indicated as the offset from the board's base address, starting with 0. On a Diamond-MM-32-AT, whose base address is 768 (0x300), address ranges from 0 to 15, not 768 - 783 (0x300 - 0x30F). |
data | The 8-bit data from the specified register on the board |
Error code or 0.
This page was last modified 11:40, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.