RF24Ethernet - TCP/IP over RF24Network v2.2.0
TMRh20 - Pushing the practical limits of RF24 modules
Loading...
Searching...
No Matches
clock-arch.h
Go to the documentation of this file.
1/*
2 clock-arch.h - Arduino implementation of uIP clock devie.
3 Copyright (c) 2010 Adam Nielsen <malvineous@shikadi.net>
4 All rights reserved.
5
6 This library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version.
10
11 This library is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public
17 License along with this library; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19*/
20
21#ifndef clock_h_
22#define clock_h_
23
24#include <stdint.h>
25typedef uint32_t clock_time_t;
26
27#ifndef CLOCK_CONF_SECOND
28 #define CLOCK_CONF_SECOND 1000UL
29#endif
30
31#ifdef __cplusplus
32extern "C" {
33#endif
35unsigned long clock_seconds(void);
36#ifdef __cplusplus
37}
38#endif
39
40#endif
unsigned long clock_seconds(void)
uint32_t clock_time_t
Definition clock-arch.h:25
clock_time_t clock_time(void)
Definition clock-arch.c:26