Counter

Dependencies:   EthernetInterface NTPClient SDFileSystem TextLCD WebSocketClient mbed-rtos mbed Socket lwip-eth lwip-sys lwip FATFileSystem

Committer:
Tuxitheone
Date:
Mon Feb 29 18:59:15 2016 +0000
Revision:
0:ecaf3e593122
TankCounter

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Tuxitheone 0:ecaf3e593122 1 /**********************************************************************
Tuxitheone 0:ecaf3e593122 2 * $Id$ lpc17_emac.h 2011-11-20
Tuxitheone 0:ecaf3e593122 3 *//**
Tuxitheone 0:ecaf3e593122 4 * @file lpc17_emac.h
Tuxitheone 0:ecaf3e593122 5 * @brief LPC17 ethernet driver header file for LWIP
Tuxitheone 0:ecaf3e593122 6 * @version 1.0
Tuxitheone 0:ecaf3e593122 7 * @date 20. Nov. 2011
Tuxitheone 0:ecaf3e593122 8 * @author NXP MCU SW Application Team
Tuxitheone 0:ecaf3e593122 9 *
Tuxitheone 0:ecaf3e593122 10 * Copyright(C) 2011, NXP Semiconductor
Tuxitheone 0:ecaf3e593122 11 * All rights reserved.
Tuxitheone 0:ecaf3e593122 12 *
Tuxitheone 0:ecaf3e593122 13 ***********************************************************************
Tuxitheone 0:ecaf3e593122 14 * Software that is described herein is for illustrative purposes only
Tuxitheone 0:ecaf3e593122 15 * which provides customers with programming information regarding the
Tuxitheone 0:ecaf3e593122 16 * products. This software is supplied "AS IS" without any warranties.
Tuxitheone 0:ecaf3e593122 17 * NXP Semiconductors assumes no responsibility or liability for the
Tuxitheone 0:ecaf3e593122 18 * use of the software, conveys no license or title under any patent,
Tuxitheone 0:ecaf3e593122 19 * copyright, or mask work right to the product. NXP Semiconductors
Tuxitheone 0:ecaf3e593122 20 * reserves the right to make changes in the software without
Tuxitheone 0:ecaf3e593122 21 * notification. NXP Semiconductors also make no representation or
Tuxitheone 0:ecaf3e593122 22 * warranty that such application will be suitable for the specified
Tuxitheone 0:ecaf3e593122 23 * use without further testing or modification.
Tuxitheone 0:ecaf3e593122 24 **********************************************************************/
Tuxitheone 0:ecaf3e593122 25
Tuxitheone 0:ecaf3e593122 26 #ifndef __LPC17_EMAC_H
Tuxitheone 0:ecaf3e593122 27 #define __LPC17_EMAC_H
Tuxitheone 0:ecaf3e593122 28
Tuxitheone 0:ecaf3e593122 29 #include "lwip/opt.h"
Tuxitheone 0:ecaf3e593122 30 #include "lwip/netif.h"
Tuxitheone 0:ecaf3e593122 31
Tuxitheone 0:ecaf3e593122 32 #ifdef __cplusplus
Tuxitheone 0:ecaf3e593122 33 extern "C"
Tuxitheone 0:ecaf3e593122 34 {
Tuxitheone 0:ecaf3e593122 35 #endif
Tuxitheone 0:ecaf3e593122 36
Tuxitheone 0:ecaf3e593122 37 /* These functions are only visible when not using an RTOS */
Tuxitheone 0:ecaf3e593122 38 #if NO_SYS == 1
Tuxitheone 0:ecaf3e593122 39 void lpc_enetif_input(struct netif *netif);
Tuxitheone 0:ecaf3e593122 40 s32_t lpc_tx_ready(struct netif *netif);
Tuxitheone 0:ecaf3e593122 41 s32_t lpc_rx_queue(struct netif *netif);
Tuxitheone 0:ecaf3e593122 42 void lpc_tx_reclaim(struct netif *netif);
Tuxitheone 0:ecaf3e593122 43 #endif
Tuxitheone 0:ecaf3e593122 44
Tuxitheone 0:ecaf3e593122 45 err_t lpc_enetif_init(struct netif *netif);
Tuxitheone 0:ecaf3e593122 46
Tuxitheone 0:ecaf3e593122 47 #ifdef __cplusplus
Tuxitheone 0:ecaf3e593122 48 }
Tuxitheone 0:ecaf3e593122 49 #endif
Tuxitheone 0:ecaf3e593122 50
Tuxitheone 0:ecaf3e593122 51 #endif /* __LPC17_EMAC_H */