zephyr/include/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 drivers: adc: add LMP90xxx ADC driver with GPIO 2020-01-09 17:27:52 +01:00
bluetooth drivers: bluetooth: Added EVT_DATA_BUF_OVERFLOW to bt_hci_evt_is_prio 2019-10-07 12:43:46 +03:00
clock_control drivers: clock_control: nrf: Switch to single clock device 2019-12-17 14:38:19 +01:00
console console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
gpio dts: esp32: Add GPIO support in DT 2019-09-25 17:39:42 +02:00
i2c/slave
ieee802154
interrupt_controller interrupt_controller: gic: Support multiple GIC versions 2019-12-19 11:05:27 -05:00
led doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
pcie
sensor drivers: sensor: ccs811: provide API to fetch configuration and versions 2020-01-14 15:44:09 -06:00
timer
usb
wifi
adc.h drivers: adc: support for adc channel gain factor of 128 2020-01-09 17:27:52 +01:00
can.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
clock_control.h drivers: clock_control: clock_control_on should be blocking 2019-12-09 12:50:36 -05:00
counter.h drivers: counter: add counter_get_value(), deprecate counter_read() 2020-01-28 12:52:46 -05:00
display.h driver: display: Added BGR565 pixel format 2020-01-20 09:21:04 -06:00
dma.h
eeprom.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
entropy.h
espi.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
flash.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
gna.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
gpio.h gpio: Clean up API documentation 2019-09-18 13:28:58 +08:00
hwinfo.h
i2c.h
i2s.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
ipm.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
kscan.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
led_strip.h
led.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
lora.h include: Add initial LoRa API 2019-12-21 12:20:24 +01:00
pinmux.h
ps2.h API: ps2 : Add API for PS/2 devices 2019-09-18 13:23:52 +08:00
pwm.h drivers: pwm: add support for inverted PWM signals 2020-01-07 18:13:18 +01:00
sensor.h include: Fixes #1205, C++ usage of sensor.h 2019-12-12 11:06:34 -06:00
spi.h
uart.h drivers: serial: add async API system calls 2020-01-17 16:15:02 -05:00
video-controls.h drivers: Add video API 2019-10-25 15:13:53 -05:00
video.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
watchdog.h drivers: watchdog: add system calls 2019-12-18 09:28:52 -05:00