summaryrefslogtreecommitdiff
path: root/com32/include/core/jiffies.h
blob: ed8436259effc9b07ca345f0bd914d9a13f506f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Core fundamental timer interface
 */
#ifndef _CORE_JIFFIES_H
#define _CORE_JIFFIES_H

#define HZ	18

extern const volatile uint32_t __jiffies;
static inline uint32_t jiffies(void)
{
    return __jiffies;
}

#endif