Contiki 2.6
|
Sample A/D converter driver. More...
Sample A/D converter driver.
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.