User’s Manual
47
Sets the state of a bank of configurable I/O channels (DIO00–DIO15) configured as sinking digital out-
puts 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.
bank
is out of range.
2.
brdInit
or
digOutConfig
was not executed before executing
digOutBank
.
PARAMETERS
bank
is 0 or 1.
0 = DIO00–DIO07
1 = DIO08–DIO15
data
is a value to be written to the specified digital output bank. The data format and bitwise value are
as follows.
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 digOutBank(char bank, char data);
Data Format
Data
D7
D6
D5
D4
D3
D2
D1
D0
Bank 0
DIO07
DIO06
DIO05
DIO04
DIO03
DIO02
DIO01
DIO00
Bank 1
DIO15
DIO14
DIO13
DIO12
DIO11
DIO10
DIO09
DIO08
Содержание 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: ......