V1

Dependents:   EthernetInterface

Fork of lwip-eth by mbed official

Committer:
lemniskata
Date:
Thu Jun 13 20:00:22 2013 +0000
Revision:
7:99e5141a51dc
Parent:
5:698d868a5285
V1

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 0:f4db29eb9e47 1 /**********************************************************************
lemniskata 7:99e5141a51dc 2 * $Id$ lpc17_emac.h 2011-11-20
mbed_official 0:f4db29eb9e47 3 *//**
lemniskata 7:99e5141a51dc 4 * @file lpc17_emac.h
lemniskata 7:99e5141a51dc 5 * @brief LPC17 ethernet driver header file for LWIP
lemniskata 7:99e5141a51dc 6 * @version 1.0
lemniskata 7:99e5141a51dc 7 * @date 20. Nov. 2011
lemniskata 7:99e5141a51dc 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 */