zephyr/samples/drivers
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
..
CAN can: Introduce can-primary alias 2020-01-27 10:25:00 -06:00
counter/alarm drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
crypto samples: drivers: crypto: fix test failure 2020-01-13 16:35:10 -05:00
current_sensing tests: fix test identifiers 2019-12-09 15:53:44 -05:00
display global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
entropy tests: tags: Add entropy and random tags 2020-01-28 09:37:51 -05:00
espi samples: drivers: espi: Showcase eSPI OOB channel APIs 2020-01-23 12:17:48 -05:00
flash_shell global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
ht16k33 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
i2c_fujitsu_fram tests: fix test identifiers 2019-12-09 15:53:44 -05:00
kscan treewide: use full path to kscan.h header 2020-01-26 17:52:12 +01:00
lcd_hd44780 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_apa102 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_apa102c_bitbang tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_lp3943 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_lp5562 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_lpd8806 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_pca9633 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
led_ws2812 tests: fix test identifiers 2019-12-09 15:53:44 -05:00
lora samples: drivers: Add LoRa receiver sample 2019-12-21 12:20:24 +01:00
ps2 treewide: use full path to ps2.h header 2020-01-26 17:52:12 +01:00
soc_flash_nrf samples: remove extra colon from test identifier 2020-01-28 10:38:10 -05:00
spi_flash samples: drivers: spi_flash: increase test data length 2019-12-19 12:37:31 +01:00
spi_fujitsu_fram samples: drivers: fix build of spi_fujitsu_fram sample 2020-01-23 14:18:40 -05:00
watchdog tests: fix test identifiers 2019-12-09 15:53:44 -05:00
drivers.rst samples: fix alarm sample doc and inclusion 2019-02-07 16:14:00 -05:00