Ethernetwebsoc

Dependencies:   C12832_lcd LM75B WebSocketClient mbed-rtos mbed Socket lwip-eth lwip-sys lwip

Committer:
GordonSin
Date:
Fri May 31 04:09:54 2013 +0000
Revision:
0:0ed2a7c7190c
31/5/2013;

Who changed what in which revision?

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