mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 21:16:02 +00:00
Introduce the device_sync_call_t object type and its API. This object type allows one thread to perform synchronous calls into a driver. Only one thread can do such calls per instance of the device_sync_call_t object since it makes a global record of what type of thread is waiting on it. Based on an idea from Dmitriy Korovkin and Peter Mitsis, moving their proposal to a more generic API provides the solution for all device drivers that exposes synchronous API in an interrupt based implementation. Change-Id: I793fac76645396bf4eb6be38b5a130ac6bde8f73 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com> |
||
---|---|---|
.. | ||
arch | ||
bluetooth | ||
display | ||
drivers | ||
microkernel | ||
misc | ||
net | ||
toolchain | ||
adc.h | ||
aio_comparator.h | ||
atomic.h | ||
cache.h | ||
clock_control.h | ||
device.h | ||
gpio.h | ||
i2c.h | ||
init.h | ||
ipi.h | ||
irq_offload.h | ||
kernel_version.h | ||
linker-defs.h | ||
linker-tool-gcc.h | ||
linker-tool.h | ||
microkernel.h | ||
nanokernel.h | ||
pinmux.h | ||
pwm.h | ||
rtc.h | ||
section_tags.h | ||
sections.h | ||
shared_irq.h | ||
spi.h | ||
sw_isr_table.h | ||
sys_clock.h | ||
sys_io.h | ||
toolchain.h | ||
uart.h | ||
watchdog.h | ||
zephyr.h |