46
Wolf (BL2600)
Sets the state of a configurable I/O channel (DIO00–DIO15) configured as a sinking digital output to a
logic 0 or a logic 1. This function only allows control of channels that are configured to be an output by
the
digOutConfig
function.
Remember to call the
brdInit
and the
digOutConfig
functions before executing this function.
A runtime error will occur for the following conditions:
1.
channel
or
state
out of range.
2.
brdInit
or
digOutConfig
was not executed before executing
digOut
.
3. If you try to use a channel that is not configured as a digital output by
digOutConfig
.
PARAMETERS
channel
is the output channel number (0–15).
state
sets a given channel to one of the following output states.
0 = connect the load to GND
1 = put the output in a high-impedance state
RETURN VALUE
None.
SEE ALSO
brdInit, digHout, digOutConfig, digBankOut, digIn
void digOut(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: ......