|
Contiki 3.x
|
See adc.h for source code. More...
See adc.h for source code.
To use the ADC system, include this file and ensure that halInternalInitAdc() is called whenever the microcontroller is started.
A "user" is a separate thread of execution and usage. That is, internal St code is one user and clients are a different user. But a client that is calling the ADC in two different functions constitutes only one user, as long as the ADC access is not interleaved.
Many functions in this file return an StStatus value. See error-def.h for definitions of all StStatus return values.
1.8.6