zephyr/tests/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
..
adc/adc_api
build_all drivers: sensor: bma280: convert from Kconfig to devicetree 2020-01-24 15:52:09 +01:00
can can: Introduce can-primary alias 2020-01-27 10:25:00 -06:00
clock_control treewide: use full path to clock_control.h header 2020-01-26 17:52:12 +01:00
counter drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
dma
eeprom global: Fix up leading/trailing blank lines in files 2020-01-27 17:41:55 -06:00
entropy/api tests: tags: Add entropy and random tags 2020-01-28 09:37:51 -05:00
flash_simulator
gpio/gpio_basic_api
hwinfo/api
i2c treewide: use full path to clock_control/stm32_clock_control.h header 2020-01-26 17:52:12 +01:00
i2s
ipm global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
kscan/kscan_api global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
pwm/pwm_api drivers: pwm: add support for inverted PWM signals 2020-01-07 18:13:18 +01:00
spi/spi_loopback test: drivers: spi: added a test case 2020-01-20 18:38:39 -05:00
uart tests: uart_async_api: run in user mode 2020-01-17 16:15:02 -05:00
watchdog/wdt_basic_api