cueOS
2.4
cueOS - Universal Show Control OS for ARM
ms_chronometer.h
1
13
#ifndef DMX512_UTILS_H_
14
#define DMX512_UTILS_H_
15
16
#include <stdint.h>
17
18
22
typedef
struct
{
23
uint32_t
_ms_delta
;
24
}
ms_chronometer_s
;
25
26
27
void
ms_chronometer_reset
(
ms_chronometer_s
*ms_chronometer);
28
uint32_t
ms_chronometer_get_elapsed_ms
(
ms_chronometer_s
*ms_chronometer);
29
30
#endif
31
ms_chronometer_reset
void ms_chronometer_reset(ms_chronometer_s *ms_chronometer)
Resets an mschronometer instance time delta to zero.
Definition:
ms_chronometer.c:23
ms_chronometer_get_elapsed_ms
uint32_t ms_chronometer_get_elapsed_ms(ms_chronometer_s *ms_chronometer)
Returns elapsed time in milliseconds since last reset.
Definition:
ms_chronometer.c:33
ms_chronometer_s
ms_chronometer structure object
Definition:
ms_chronometer.h:22
ms_chronometer_s::_ms_delta
uint32_t _ms_delta
Definition:
ms_chronometer.h:23
libs
MS_chronometer
inc
ms_chronometer.h
Generated by
1.9.4