zephyr/include
Henrik Brix Andersen c894a6db4d drivers: counter: add counter_get_value(), deprecate counter_read()
Introduce a new counter API function for reading the current counter
value (counter_get_value()) and deprecate the former counter_read() in
favor of this.

Update all drivers and calling code to match the new counter API.

The previous counter driver API function for reading the current value
of the counter (counter_read()) did not support indicating whether the
read suceeded. This is fine for counters internal to the SoC where the
read always succeeds but insufficient for external counters (e.g. I2C
or SPI slaves).

Fixes #21846.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
2020-01-28 12:52:46 -05:00
..
app_memory
arch extensions.cmake: Replace TEXT_START with ROM_START 2020-01-23 03:22:59 -08:00
audio
bluetooth
canbus canbus: canopen: add LED indicator support 2020-01-20 17:17:23 +01:00
cmsis_rtos_v1
cmsis_rtos_v2
console
crypto crypto: api: New capability flag CAP_NO_IV_PREFIX 2020-01-16 18:34:20 +01:00
data
debug
dfu
disk
display
drivers drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
dt-bindings
fs fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
linker
logging
mgmt
net treewide: use full path to can.h header 2020-01-26 17:52:12 +01:00
posix
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random
settings doc: cleanup after NFFS removal 2020-01-21 15:32:47 +01:00
shell
stats
storage
sys base: add error checking macros 2020-01-20 17:19:54 -05:00
toolchain
usb
zephyr
cache.h
device.h kernel: device: Add const qualifier to device_config 2020-01-22 06:32:36 -06:00
devicetree.h dts: Rename generated_dts_board*.{h,conf} to devicetree*.{h,conf} 2020-01-17 17:57:59 +01:00
exc_handle.h
fatal.h
generated_dts_board.h dts: Add include/generated_dts_board.h for backwards compatibility 2020-01-17 17:57:59 +01:00
init.h
irq_nextlevel.h
irq_offload.h
irq.h
kernel_includes.h
kernel_structs.h kernel/sched: Address thread abort termination delay issue on SMP 2020-01-21 14:47:52 -08:00
kernel_version.h
kernel.h kernel: queue: runtime error handling 2020-01-20 17:19:54 -05:00
ptp_clock.h
sched_priq.h
shared_irq.h
spinlock.h
sw_isr_table.h
sys_clock.h
syscall_handler.h
syscall.h
timeout_q.h
toolchain.h
wait_q.h
zephyr.h