+/EE445L

embedded systems

git clone https://git.julia.blue/+/EE445L

Joseph RyanAdd clock rendering5c1089c

master
342 B15 linesraw
1#include <stdbool.h>
2#include <stdint.h>
3
4// period is in ms
5void timer0_start(void (*task)(void), uint32_t period, bool repeating);
6
7void timer0_stop();
8
9void timer1_start(void (*task)(void), uint32_t period, bool repeating);
10
11void timer1_stop();
12
13void timer2_start(void (*task)(void), uint32_t period, bool repeating);
14
15void timer2_stop();