42
Wolf (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
digHOutConfig
functions before executing this function.
A runtime error will occur for the following conditions:
1.
channel
or
state
out of range.
2.
brdInit
or
digHOutConfig
was not executed before executing
digHOut
.
3. If you try to use a channel that is 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
digHoutConfig
.
Sinking configuration:
0 = connect the load to GND
1 = put the output in a high-impedance state
Sourcing configuration:
0 = put the output in a high-impedance state
1 = connects the load to +K(0–3)
RETURN VALUE
None.
SEE ALSO
brdInit, digHOutConfig, digHoutTriState, digOut
void digHOut(int channel, int state);
Содержание Wolf BL2600
Страница 1: ...Wolf BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142 040731 B ...
Страница 36: ...32 Wolf BL2600 ...
Страница 66: ...62 Wolf BL2600 ...
Страница 100: ...96 Wolf BL2600 ...
Страница 104: ...100 Wolf BL2600 ...
Страница 106: ......