zephyr/include/drivers
Andy Ross 96013b0375 system_timer.h: Change "now" uptime API to be simpler for drivers
The current z_clock_uptime() call (recently renamed from
_get_elapsed_program_time) requires the driver to track a full 64 bit
uptime value in ticks, which is entirely separate from the one the
kernel is already keeping.

Don't do that.  Just ask the drivers to track uptime since the last
call to z_clock_announce(), since that is going to map better to
built-in hardware capability.

Obviously existing drivers already have this feature, so they're
actually getting slightly larger in order to implement the new API in
terms of the old one.  But future drivers will thank us.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2018-10-16 15:03:10 -04:00
..
bluetooth headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
clock_control drivers: usb: Add nRF52840 USBD driver 2018-10-12 13:14:12 +02:00
console drivers: console: native: header fix 2018-10-15 09:36:37 -04:00
display driver: Updated ILI9340 driver to use display API 2018-10-03 11:29:00 -07:00
entropy headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
gpio headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
i2c/slave headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
ieee802154 include: Add missing headers guard 2018-09-17 15:49:26 -04:00
modem headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
pci headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
usb usb: Use const for status_callback parameter 2018-10-10 09:21:55 -04:00
wifi include: Add missing headers guard 2018-09-17 15:49:26 -04:00
ioapic.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
loapic.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
mvic.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
sysapic.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
system_timer.h system_timer.h: Change "now" uptime API to be simpler for drivers 2018-10-16 15:03:10 -04:00