![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Code_capteur-APDS9960_ecran-STM32F746G-DISCO
Dependencies: TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP
Diff: Clock.h
- Revision:
- 0:5d88688340fc
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Clock.h Mon Jun 22 14:16:28 2020 +0000 @@ -0,0 +1,12 @@ +#pragma once + +#include <stdint.h> + +// Return the number of seconds since boot. +float clock_s(); + +// Return the number of milliseconds since boot. +uint64_t clock_ms(); + +// Return the number of microseconds since boot. +uint64_t clock_us(); \ No newline at end of file