]> git.tdb.fi Git - model-railway-devices.git/blob - common/clock.h
Provide peak current since last read
[model-railway-devices.git] / common / clock.h
1 #ifndef CLOCK_H_
2 #define CLOCK_H_
3
4 #include <stdint.h>
5
6 #ifndef CLOCK_RATE
7 #define CLOCK_RATE 1000
8 #endif
9
10 void clock_start();
11 void clock_stop();
12 uint32_t clock_get();
13
14 #endif