User’s Manual
51
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
void digHTriStateConfig(char configuration);
Содержание BL2600
Страница 1: ...SBC BL2600 C Programmable Single Board Computer with Ethernet User s Manual 019 0142_L...
Страница 6: ...SBC BL2600...
Страница 14: ...8 SBC BL2600...
Страница 96: ...90 SBC BL2600...
Страница 112: ...106 SBC BL2600...
Страница 116: ...110 SBC BL2600...