52
SBC BL2600
Sets the state of a high-current digital output (HOUT0–HOUT3) to a logic 0, logic 1, or high impedance.
Remember to call the
brdInit
and the
digHTriStateConfig
functions before executing this
function.
A runtime error will occur for the following conditions:
1.
channel
or
state
out of range.
2.
brdInit
or
digHTritateConfig
was not executed before executing
digHoutTriState
.
3. If you try to use a channel that is not configured as a tristate output by
digHTriStateConfig
.
PARAMETERS
channel
is the output channel number (0–3).
state
sets a given channel to one of the following output states depending on how the output was con-
figured by
digHTriStateConfig
.
Trisate configuration:
0 = connect the load to GND
1 = connects the load to +K(0–3)
2 = put the output in a high-impedance state
RETURN VALUE
None.
SEE ALSO
brdInit, digHout, digHoutConfig, digHTriStateConfig
void digHoutTriState(int channel, int state);
Summary of Contents for BL2600
Page 1: ...SBC BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142_L...
Page 6: ...SBC BL2600...
Page 14: ...8 SBC BL2600...
Page 96: ...90 SBC BL2600...
Page 112: ...106 SBC BL2600...
Page 116: ...110 SBC BL2600...