NXP LPC1768 Ethernet driver for lwip and CMSIS-RTOS

Dependents:   EthernetInterface EthernetInterface EthernetInterface_RSF EthernetInterface ... more

Legacy Networking Libraries

This is an mbed 2 networking library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety here.

This library is based on the code of the NXP LPC port of the Lightweight TCP/IP Stack

Copyright(C) 2011, NXP Semiconductor
All rights reserved.

Software that is described herein is for illustrative purposes only
which provides customers with programming information regarding the
products. This software is supplied "AS IS" without any warranties.
NXP Semiconductors assumes no responsibility or liability for the
use of the software, conveys no license or title under any patent,
copyright, or mask work right to the product. NXP Semiconductors
reserves the right to make changes in the software without
notification. NXP Semiconductors also make no representation or
warranty that such application will be suitable for the specified
use without further testing or modification.
Committer:
mbed_official
Date:
Fri Jun 22 09:32:29 2012 +0000
Revision:
0:f4db29eb9e47
Child:
3:dd8b8f5b449a
Initial import from NXP lwip_lpc: http://sw.lpcware.com/index.php?p=lwip_lpc.git&a=snapshot&h=7b84446afe97af955acad1d720696a0de73ab7cf&fmt=zip

Who changed what in which revision?

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