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/

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?

UserRevisionLine numberNew contents of line
cassyarduino 0:e3fb1267e3c3 1 /*
cassyarduino 0:e3fb1267e3c3 2 clock-arch.c - 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 #if defined(ARDUINO)
cassyarduino 0:e3fb1267e3c3 22 #include <Arduino.h>
cassyarduino 0:e3fb1267e3c3 23 #endif
cassyarduino 0:e3fb1267e3c3 24 #if defined(__MBED__)
cassyarduino 0:e3fb1267e3c3 25 #include "mbed/millis.h"
cassyarduino 0:e3fb1267e3c3 26 #endif
cassyarduino 0:e3fb1267e3c3 27 #include "clock-arch.h"
cassyarduino 0:e3fb1267e3c3 28
cassyarduino 0:e3fb1267e3c3 29 extern "C" {
cassyarduino 0:e3fb1267e3c3 30 clock_time_t
cassyarduino 0:e3fb1267e3c3 31 clock_time(void)
cassyarduino 0:e3fb1267e3c3 32 {
cassyarduino 0:e3fb1267e3c3 33 return (clock_time_t) millis();
cassyarduino 0:e3fb1267e3c3 34 }
cassyarduino 0:e3fb1267e3c3 35 }