~ruther/qmk_firmware

ref: c27d96b4c1ed8aa5bf9cad20380b8f723b149a83 qmk_firmware/lib/lufa/Projects/Webserver/Lib/uip/clock.h -rw-r--r-- 239 bytes
c27d96b4 — Drashna Jaelre Fix ATSAM's USB HID descriptor to support higher heycodes 7 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#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__ */