48
Smartcat (BL2100)
Reads the state of an A/D converter input channel.
PARAMETER
channel
is the A/D converter input channel (0–10) to read.
RETURN VALUE
A value corresponding to the voltage on the analog input channel (0–4095).
SEE ALSO
anaInVolts, anaInCalib, anaInfast, brdInit
Reads the state of an A/D converter input channel and uses the previously set calibration constants to
convert it to volts.
PARAMETER
channel
is the A/D converter input channel (0–10).
RETURN VALUE
A voltage value corresponding to the voltage on the analog input channel.
SEE ALSO
anaIn, anaInCalib, 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 A/D converter input channel (0–10).
RETURN VALUE
0 if successful.
-1 if address is invalid or out of range.
SEE ALSO
anaInEEWr, brdInit
int anaIn(unsigned int channel);
float anaInVolts(unsigned int channel);
int anaInEERd(unsigned int channel);
Содержание Smartcat
Страница 6: ...Smartcat BL2100 ...
Страница 14: ...8 Smartcat BL2100 ...
Страница 60: ...54 Smartcat BL2100 ...
Страница 78: ...72 Smartcat BL2100 ...
Страница 84: ...78 Smartcat BL2100 ...
Страница 118: ...112 Smartcat BL2100 ...
Страница 124: ...118 Smartcat BL2100 ...
Страница 132: ...126 Smartcat BL2100 ...
Страница 134: ......