User’s Manual
49
Sets the voltage of a D/A converter output channel by using the previously set calibration constants to
calculate the correct data values.
PARAMETERS
channel
is the D/A converter output channel (0 or 1).
voltage
is the voltage desired on the output channel.
SEE ALSO
anaOut, anaOutCalib, brdInit
Reads the calibration constants, gain, and offset from the simulated EEPROM in flash memory (located
in reserved user block memory area 0x1C00–0x1FFF).
PARAMETER
channel
is the D/A converter output channel (0 or 1).
RETURN VALUE
0 if successful.
-1 if address or range is invalid.
SEE ALSO
anaOutEEWr, brdInit
Writes the calibration constants, gain, and offset to the simulated EEPROM in flash memory (located in
reserved user block memory area 0x1C00–0x1FFF).
PARAMETER
channel
is the D/A converter output channel (0 or 1).
RETURN VALUE
0 if successful.
-1 if address or range is invalid.
SEE ALSO
anaOutEERd, brdInit
The address range of the user block memory area where the calibration constants are
stored may be determined using
readUserBlock( _dacCalib, DAC_CALIB_ADDR, sizeof( _dacCalib ) );
where
_dacCalib
and
DAC_CALIB_ADDR
are macros defined in the
BL20XX.LIB
library.
void anaOutVolts(unsigned int channel,
float voltage);
int anaOutEERd(unsigned int channel);
int anaOutEEWr(unsigned int channel);
Содержание Wildcat BL2000
Страница 1: ...Wildcat BL2000 C Programmable Single Board Computer with Ethernet User s Manual 019 0094 040731 K ...
Страница 16: ...12 Wildcat BL2000 ...
Страница 36: ...32 Wildcat BL2000 ...
Страница 54: ...50 Wildcat BL2000 ...
Страница 82: ...78 Wildcat BL2000 ...
Страница 86: ...82 Wildcat BL2000 ...
Страница 90: ...86 Wildcat BL2000 ...
Страница 92: ...88 Wildcat BL2000 ...
Страница 96: ......