You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
239 B
C
14 lines
239 B
C
8 years ago
|
#ifndef __CLOCK_ARCH_H__
|
||
|
#define __CLOCK_ARCH_H__
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <util/atomic.h>
|
||
|
|
||
|
typedef uint16_t clock_time_t;
|
||
|
#define CLOCK_SECOND 100
|
||
|
void clock_init(void);
|
||
|
clock_time_t clock_time(void);
|
||
|
|
||
|
#endif /* __CLOCK_ARCH_H__ */
|
||
|
|