[go: up one dir, main page]

Menu

[r58]: / tags / v1.0.4.1 / drv_tim.h  Maximize  Restore  History

Download this file

19 lines (13 with data), 368 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
/*
* Timer driver for Atomiks
* Copyright (C) Mateusz Viste 2014, 2015
*/
#ifndef drv_tim_h_sentinel
#define drv_tim_h_sentinel
/* waits until a specific time. */
void tim_wait_until_tick(unsigned long tick, long *overtime);
/* waits for a number of miliseconds */
void tim_delay(long ms);
/* returns the current ticks value */
long tim_getticks(void);
#endif