BYTE dscCounterDirectSet(DSCB board, BYTE code, WORD data, BYTE ctr_number);
Name | Description |
---|---|
board | The handle of the board to operate on |
code | The configuration code to write to the 82C54 chip; see the 82C54 datasheet at the back of the board's user manual for configuration code information |
data | The initial count to write to the selected counter; range is 0-65535 |
ctr_number | The individual counter to set; range is 0-2 |
Error code or 0.
This page was last modified 12:00, 12 Feb 2004.
Copyright (c) 2004 Diamond Systems. All Rights Reserved.