zephyr/samples
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
..
application_development samples: Add sample 'application_development/out_of_tree_driver' 2020-01-22 09:26:12 -05:00
basic samples: minimal: kconfig: Do not assign promptless MEMORY_PROTECTION 2020-01-14 11:06:24 -05:00
bluetooth treewide: use full path to ipm.h header 2020-01-26 17:52:12 +01:00
boards console: kconfig: Do not assign promptless CONSOLE_HAS_DRIVER 2020-01-14 15:42:33 +01:00
cpp_synchronization samples & tests: Correct main() type 2019-12-16 11:27:56 +01:00
display global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
drivers drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
hello_world tests: fix test identifiers 2019-12-09 15:53:44 -05:00
mpu global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
net samples: net: websocket: Verify the received data properly 2020-01-28 19:49:16 +02:00
nfc/nfc_hello cleanup: include/: move misc/byteorder.h to sys/byteorder.h 2019-06-27 22:55:49 -04:00
philosophers samples: philosophers: Disable networking 2019-12-18 10:35:15 +02:00
portability samples: cmsis_rtos_v1: Grow stack size to the maximum allowed 2020-01-20 18:33:34 -05:00
posix samples & tests: Correct main() type 2019-12-16 11:27:56 +01:00
sensor samples: sht3xd: kconfig: Do not assign promptless SHT3XD_TRIGGER 2020-01-16 07:50:05 -06:00
shields treewide: use full path to sensor.h header 2020-01-26 17:52:12 +01:00
smp tests: fix test identifiers 2019-12-09 15:53:44 -05:00
subsys global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
synchronization tests: fix test identifiers 2019-12-09 15:53:44 -05:00
testing/integration tests: fix test identifiers 2019-12-09 15:53:44 -05:00
userspace samples: shared_mem: exclude qemu_x86_64 2020-01-28 10:38:10 -05:00
video samples: video: Fix board reference name 2019-10-30 18:33:18 +01:00
classic.rst
index.rst samples: display: Move LVGL sample 2020-01-16 21:01:41 -05:00