Skip to content
Commit 370c3951 authored by Andy Ross's avatar Andy Ross Committed by Carles Cufí
Browse files

kernel: Add new uniform time unit conversion API



Zephyr has always had an ad hoc collection of time unit macros and
conversion routines in a selection of different units, precisions,
rounding modes and naming conventions.

This adds a single optimized generator to produce any such conversion,
and enumerates it to produce a collection of 48 utilities in all
useful combinations as a single supported kernel API going forward.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 28fb4264
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment