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
basic
bluetooth
boards
cpp_synchronization
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
mpu
net samples: net: websocket: Verify the received data properly 2020-01-28 19:49:16 +02:00
nfc/nfc_hello
philosophers
portability
posix
sensor
shields treewide: use full path to sensor.h header 2020-01-26 17:52:12 +01:00
smp
subsys global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
synchronization
testing/integration
userspace samples: shared_mem: exclude qemu_x86_64 2020-01-28 10:38:10 -05:00
video
classic.rst
index.rst