zephyr/tests
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 tests: application_development/libxcc: exclude using XCC... 2020-01-07 17:09:38 +01:00
arch drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
benchmarks test: benchmarkis add frdmk82f board config 2019-12-19 12:55:18 -05:00
bluetooth global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
boards tests: board_shell: enable sensor shell 2020-01-13 09:23:35 -06:00
crypto tests: tags: Add entropy and random tags 2020-01-28 09:37:51 -05:00
drivers drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
kernel tests/kernel/fatal: add volatile to prevent compiler optimization 2020-01-22 07:08:12 -08:00
lib tests/lib/gui/lvgl: use littlefs 2020-01-21 15:32:47 +01:00
misc/test_build tests: fix test identifiers 2019-12-09 15:53:44 -05:00
net tests: net: websocket: Add TX unit tests for websocket API 2020-01-28 19:49:16 +02:00
portability tests: samples: portability: fix test tags and identifiers 2019-12-09 15:53:44 -05:00
posix global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
shell tests: fix test identifiers 2019-12-09 15:53:44 -05:00
subsys tests/fs: NFFS has been replaced with Littlefs in multifs tests 2020-01-21 17:30:03 +01:00
unit tests: unit: util: Add test for IF_ENABLED() 2019-12-18 08:14:52 -05:00
ztest subsys/testsuite: make tc_util overridable 2019-09-17 07:11:33 +08:00