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:
emilmont
Date:
Thu May 30 17:15:45 2013 +0100
Revision:
5:698d868a5285
Parent:
4:d827a085afd9
Child:
7:5754e05385b8
Add LPC4088 target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:f4db29eb9e47 1 /**********************************************************************
emilmont 5:698d868a5285 2 * $Id$ lpc17_emac.h 2011-11-20
mbed_official 0:f4db29eb9e47 3 *//**
emilmont 5:698d868a5285 4 * @file lpc17_emac.h
emilmont 5:698d868a5285 5 * @brief LPC17 ethernet driver header file for LWIP
emilmont 5:698d868a5285 6 * @version 1.0
emilmont 5:698d868a5285 7 * @date 20. Nov. 2011
emilmont 5:698d868a5285 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.
emilmont 4:d827a085afd9 24 **********************************************************************/
emilmont 4:d827a085afd9 25
emilmont 4:d827a085afd9 26 #ifndef __LPC17_EMAC_H
emilmont 4:d827a085afd9 27 #define __LPC17_EMAC_H
emilmont 4:d827a085afd9 28
mbed_official 0:f4db29eb9e47 29 #include "lwip/opt.h"
emilmont 4:d827a085afd9 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 {
emilmont 4:d827a085afd9 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
emilmont 4:d827a085afd9 39 void lpc_enetif_input(struct netif *netif);
mbed_official 0:f4db29eb9e47 40 s32_t lpc_tx_ready(struct netif *netif);
emilmont 4:d827a085afd9 41 s32_t lpc_rx_queue(struct netif *netif);
emilmont 4:d827a085afd9 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 }
emilmont 4:d827a085afd9 49 #endif
mbed_official 0:f4db29eb9e47 50
emilmont 4:d827a085afd9 51 #endif /* __LPC17_EMAC_H */