UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/
utility/clock-arch.h@39:deeb00b81cc9, 2018-01-23 (annotated)
- Committer:
- cassyarduino
- Date:
- Tue Jan 23 15:08:43 2018 +0100
- Revision:
- 39:deeb00b81cc9
- Parent:
- 0:e3fb1267e3c3
Release: 2.0.4
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
cassyarduino | 0:e3fb1267e3c3 | 1 | /* |
cassyarduino | 0:e3fb1267e3c3 | 2 | clock-arch.h - Arduino implementation of uIP clock device. |
cassyarduino | 0:e3fb1267e3c3 | 3 | Copyright (c) 2010 Adam Nielsen <malvineous@shikadi.net> |
cassyarduino | 0:e3fb1267e3c3 | 4 | All rights reserved. |
cassyarduino | 0:e3fb1267e3c3 | 5 | |
cassyarduino | 0:e3fb1267e3c3 | 6 | This library is free software; you can redistribute it and/or |
cassyarduino | 0:e3fb1267e3c3 | 7 | modify it under the terms of the GNU Lesser General Public |
cassyarduino | 0:e3fb1267e3c3 | 8 | License as published by the Free Software Foundation; either |
cassyarduino | 0:e3fb1267e3c3 | 9 | version 2.1 of the License, or (at your option) any later version. |
cassyarduino | 0:e3fb1267e3c3 | 10 | |
cassyarduino | 0:e3fb1267e3c3 | 11 | This library is distributed in the hope that it will be useful, |
cassyarduino | 0:e3fb1267e3c3 | 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
cassyarduino | 0:e3fb1267e3c3 | 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
cassyarduino | 0:e3fb1267e3c3 | 14 | Lesser General Public License for more details. |
cassyarduino | 0:e3fb1267e3c3 | 15 | |
cassyarduino | 0:e3fb1267e3c3 | 16 | You should have received a copy of the GNU Lesser General Public |
cassyarduino | 0:e3fb1267e3c3 | 17 | License along with this library; if not, write to the Free Software |
cassyarduino | 0:e3fb1267e3c3 | 18 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
cassyarduino | 0:e3fb1267e3c3 | 19 | */ |
cassyarduino | 0:e3fb1267e3c3 | 20 | |
cassyarduino | 0:e3fb1267e3c3 | 21 | #ifndef clock_h_ |
cassyarduino | 0:e3fb1267e3c3 | 22 | #define clock_h_ |
cassyarduino | 0:e3fb1267e3c3 | 23 | |
cassyarduino | 0:e3fb1267e3c3 | 24 | #ifdef __cplusplus |
cassyarduino | 0:e3fb1267e3c3 | 25 | extern "C" { |
cassyarduino | 0:e3fb1267e3c3 | 26 | #endif |
cassyarduino | 0:e3fb1267e3c3 | 27 | |
cassyarduino | 0:e3fb1267e3c3 | 28 | typedef unsigned long clock_time_t; |
cassyarduino | 0:e3fb1267e3c3 | 29 | #define CLOCK_CONF_SECOND 1000 |
cassyarduino | 0:e3fb1267e3c3 | 30 | |
cassyarduino | 0:e3fb1267e3c3 | 31 | #ifdef __cplusplus |
cassyarduino | 0:e3fb1267e3c3 | 32 | } |
cassyarduino | 0:e3fb1267e3c3 | 33 | #endif |
cassyarduino | 0:e3fb1267e3c3 | 34 | |
cassyarduino | 0:e3fb1267e3c3 | 35 | #endif |