Code projet_gestion_de_commande_en_ligne
Dependencies: TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP
Clock.h@0:735dae6ecacf, 2020-06-18 (annotated)
- Committer:
- darkseb
- Date:
- Thu Jun 18 14:45:26 2020 +0000
- Revision:
- 0:735dae6ecacf
test
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
darkseb | 0:735dae6ecacf | 1 | #pragma once |
darkseb | 0:735dae6ecacf | 2 | |
darkseb | 0:735dae6ecacf | 3 | #include <stdint.h> |
darkseb | 0:735dae6ecacf | 4 | |
darkseb | 0:735dae6ecacf | 5 | // Return the number of seconds since boot. |
darkseb | 0:735dae6ecacf | 6 | float clock_s(); |
darkseb | 0:735dae6ecacf | 7 | |
darkseb | 0:735dae6ecacf | 8 | // Return the number of milliseconds since boot. |
darkseb | 0:735dae6ecacf | 9 | uint64_t clock_ms(); |
darkseb | 0:735dae6ecacf | 10 | |
darkseb | 0:735dae6ecacf | 11 | // Return the number of microseconds since boot. |
darkseb | 0:735dae6ecacf | 12 | uint64_t clock_us(); |