BL4S200 User’s Manual
124
anaOutStrobe
int anaOutStrobe(int channels);
FUNCTION DESCRIPTION
Outputs the previously written value of each channel indicated by the input parameter.
This function is only useful when the D/A converter is configured for synchronous
mode operation because each channel is updated immediately in the asynchronous mode
when a value is written to it. It is called internally by
anaInConfig()
to strobe the D/
A converter offsets when the D/A converter is in the synchronous mode, but its normal
use in programs should only be to strobe external D/A converter channels 0 and 1.
PARAMETER
channels
bitmap of channels to be strobed.
1 — Channel 0
2 — Channel 1
3 — Channels 0 and 1
RETURN VALUE
0 — success.
BL_SPIBUSY
— SPI port busy.
SEE ALSO
brdInit, anaOut, anaOutmAmps, anaOutConfig, anaOutCalib
electronic components distributor