Z-World Wolf BL2600 User Manual page 47

C-programmable single-board computer with ethernet
Table of Contents

Advertisement

void digHTriStateConfig(char configuration);
Configures whether a high-current output is a tristate type output. This configuration information is also
used to initially set the output to the off state for the given hardware output configuration. The configura-
tion options are described below.
PARAMETER
configuration is a 1-byte parameter where 4 bits are used for the high-current outputs HOUT0–
HOUT3.
Bit 3 = high-current output channel HOUT3
Bit 2 = high-current output channel HOUT2
Bit 1 = high-current output channel HOUT1
Bit 0 = high-current output channel HOUT0
(bits 4–7 are not used)
The high-current outputs can be configured as tristate outputs by setting the corresponding bit to a 0 or 1:
0 = disable operation as tristate output, 1 = enable operation as tristate output.
RETURN VALUE
None.
SEE ALSO
brdInit, digHout, dgigHoutConfig, digHoutTriState
EXAMPLE
configuration = 0x09
0x09 = 00001001 (remember these bits are bits 7–0)
HOUT3tristate output is enabled
HOUT2 tristate output is disabled
HOUT1 tristate output is disabled
HOUT0 tristate output is enabled
User's Manual
43

Advertisement

Table of Contents
loading

Related Products for Z-World Wolf BL2600

Table of Contents