zephyr/include
Andrzej Głąbek f1891e9473 drivers: adc: Introduce reworked API
This commit replaces the API for ADC drivers with a reworked one.
As requested in the issue #3980, the adc_enable/adc_disable functions
are removed. Additionaly, some new features are introduced, like:
- asynchronous calls
- configuration of channels
- multi-channel sampling

Common parts of code that are supposed to appear in each implementation
of the driver (like locking, synchronization, triggering of consecutive
samplings) are provided in the "adc_context.h" file to keep consistency
with the SPI driver. Syscalls are no longer present in the API because
the functions starting read requests cannot use them, since they can be
provided with a callback that is executed in the ISR context, and there
is no point in supporting syscalls only for the channels configuration.

"adc_api" test is updated and extended with additional test cases,
with intention to show how the API is supposed to be used.
"adc_simple" test is removed as it does not seem to add much value.

Signed-off-by: Andrzej Głąbek <andrzej.glabek@nordicsemi.no>
2018-08-29 13:46:57 -04:00
..
app_memory userspace: compartmentalized app memory organization 2018-07-25 12:02:01 -07:00
arch kernel: Enable interrupts for MULTITHREADING=n on supported arch's 2018-08-27 16:15:10 -04:00
audio drivers: dmic: APIs for digital microphones 2018-08-19 11:05:19 -07:00
bluetooth doc: fix misspellings in API documentation 2018-08-28 13:58:22 -04:00
cmsis_rtos_v1 lib/cmsis_rtos_v1: Implement support for Signal Event APIs 2018-08-13 13:08:07 -07:00
crypto
debug obj_tracing: Declare object trace list for queue 2018-07-27 07:51:26 -04:00
dfu
display
drivers drivers: modem: add modem receiver (tty) driver 2018-08-06 10:43:46 +03:00
dt-bindings include: dt-bindings: pinctrl: stm32-pinctrlf1.h complete stm32f1 header 2018-08-20 05:51:52 -07:00
fs subsys: fs: Add the support for multiple instances of fs 2018-05-08 08:53:01 -04:00
linker linker: Re-implement {APP,KERNEL}_INPUT_SECTION 2018-08-16 20:15:52 -07:00
logging doc: fix misspellings in API documentation 2018-08-28 13:58:22 -04:00
mgmt doc: fix misspellings in API docs 2018-08-08 01:47:51 -05:00
misc mempool: Fix bit pointer state for N_MAX > 31 2018-08-25 06:57:37 -07:00
net doc: fix misspellings in API documentation 2018-08-28 13:58:22 -04:00
nvs subsys: fs/nvs: Rewrite for improved robustness 2018-08-10 14:16:06 -07:00
posix posix: add pthread_key and pthread_once APIs 2018-07-19 08:46:33 -04:00
random
settings settings: fix typo in header file 2018-06-12 22:49:12 -04:00
shell
toolchain toolchain: gcc: check if __weak is defined 2018-06-28 09:13:17 -05:00
usb subsys: usb: class: hid: Add OUT interrupt endpoint 2018-08-27 18:59:58 -04:00
zephyr
adc.h drivers: adc: Introduce reworked API 2018-08-29 13:46:57 -04:00
aio_comparator.h
atomic.h
base64.h
cache.h
can.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
clock_control.h
console.h include: console: Include kernel.h for struct k_fifo 2018-08-20 09:05:08 -07:00
counter.h
crc8.h
crc16.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
crc32.h lib/crc: Add CRC32 support 2018-07-18 10:00:12 -04:00
device.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
disk_access.h subsys: disk: Add support for multiple disk interfaces 2018-05-08 08:53:01 -04:00
dma.h dma: define and document the source and dest adjust enum. 2018-05-05 00:58:42 -04:00
entropy.h drivers: entropy: Introduce ISR-specific entropy function 2018-05-24 15:13:13 -07:00
exc_handle.h arch: introduce exc_handle.h 2018-07-31 07:47:15 -07:00
fcb.h
flash_map.h
flash.h
fs.h lib: posix: Add Posix Style File System API support 2018-05-18 13:32:36 +03:00
gpio.h doc: fix early closing of GPIO doxygen defgroup 2018-06-04 10:55:37 -04:00
i2c.h doc: fix misspellings in API docs 2018-08-08 01:47:51 -05:00
i2s.h i2s: expose i2s APIs to user mode 2018-08-13 16:44:09 -07:00
init.h
ipm.h
irq_nextlevel.h drivers: interrupts: introduce CAVS interrupt logic 2018-05-01 16:46:41 -04:00
irq_offload.h
irq.h
json.h lib: json: add helper macro for array of array 2018-07-06 19:17:07 -04:00
kernel_includes.h Fix compile errors related to errno.h 2018-07-25 23:38:13 -04:00
kernel_version.h
kernel.h tracing: support generic tracing hooks 2018-08-21 05:45:47 -07:00
led_strip.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
led.h drivers: led: Add system call handler support 2018-05-04 10:07:39 -07:00
pinmux.h pinmux: remove user mode access 2018-05-07 22:20:20 -04:00
power.h
ptp_clock.h driver: ptp_clock: PTP clock driver definition 2018-06-26 12:37:28 +03:00
pwm.h
ring_buffer.h
rtc.h rtc: Add prescalar configuration option 2018-05-17 13:45:08 -05:00
sched_priq.h kernel: Add the old "multi queue" scheduler algorithm as an option 2018-07-03 17:09:15 -04:00
sensor.h sensors: Add separation between ambient and die temperature 2018-04-03 22:29:11 -04:00
shared_irq.h
spi.h include: improve compatibility with C++ apps. 2018-04-09 23:21:52 -04:00
spinlock.h
stats.h doc: fix misspellings in API doxygen comments 2018-05-23 15:28:01 -05:00
sw_isr_table.h
sys_clock.h kernel: Deprecate sys_clock_us_per_tick variable. 2018-07-20 00:03:52 -04:00
sys_io.h
syscall.h cmake: Deprecate the 2 symbols _SYSCALL_{LIMIT,BAD} 2018-08-15 11:46:51 -07:00
toolchain.h
tracing.h systemview: add support natively using tracing hooks 2018-08-21 05:45:47 -07:00
uart.h drivers: uart: Allow to pass arbitrary user data to irq callback 2018-08-02 19:20:12 +02:00
watchdog.h api: watchdog: fix wdt_install_timeout doxygen comment 2018-06-05 08:04:45 -04:00
zephyr.h