Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DebugLib Socket lwip lwip-sys
Fork of NetworkingCoreLib by
main/lwip/arch/lpc17_emac.h@1:240e3322b87a, 2012-05-24 (annotated)
- Committer:
- donatien
- Date:
- Thu May 24 15:35:36 2012 +0000
- Revision:
- 1:240e3322b87a
- Parent:
- 0:013f5d54248c
+ Debug Lib
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| donatien | 0:013f5d54248c | 1 | /********************************************************************** |
| donatien | 0:013f5d54248c | 2 | * $Id$ lpc17_emac.h 2011-11-20 |
| donatien | 0:013f5d54248c | 3 | *//** |
| donatien | 0:013f5d54248c | 4 | * @file lpc17_emac.h |
| donatien | 0:013f5d54248c | 5 | * @brief LPC17 ethernet driver header file for LWIP |
| donatien | 0:013f5d54248c | 6 | * @version 1.0 |
| donatien | 0:013f5d54248c | 7 | * @date 20. Nov. 2011 |
| donatien | 0:013f5d54248c | 8 | * @author NXP MCU SW Application Team |
| donatien | 0:013f5d54248c | 9 | * |
| donatien | 0:013f5d54248c | 10 | * Copyright(C) 2011, NXP Semiconductor |
| donatien | 0:013f5d54248c | 11 | * All rights reserved. |
| donatien | 0:013f5d54248c | 12 | * |
| donatien | 0:013f5d54248c | 13 | *********************************************************************** |
| donatien | 0:013f5d54248c | 14 | * Software that is described herein is for illustrative purposes only |
| donatien | 0:013f5d54248c | 15 | * which provides customers with programming information regarding the |
| donatien | 0:013f5d54248c | 16 | * products. This software is supplied "AS IS" without any warranties. |
| donatien | 0:013f5d54248c | 17 | * NXP Semiconductors assumes no responsibility or liability for the |
| donatien | 0:013f5d54248c | 18 | * use of the software, conveys no license or title under any patent, |
| donatien | 0:013f5d54248c | 19 | * copyright, or mask work right to the product. NXP Semiconductors |
| donatien | 0:013f5d54248c | 20 | * reserves the right to make changes in the software without |
| donatien | 0:013f5d54248c | 21 | * notification. NXP Semiconductors also make no representation or |
| donatien | 0:013f5d54248c | 22 | * warranty that such application will be suitable for the specified |
| donatien | 0:013f5d54248c | 23 | * use without further testing or modification. |
| donatien | 0:013f5d54248c | 24 | **********************************************************************/ |
| donatien | 0:013f5d54248c | 25 | |
| donatien | 0:013f5d54248c | 26 | #ifndef __LPC17_EMAC_H |
| donatien | 0:013f5d54248c | 27 | #define __LPC17_EMAC_H |
| donatien | 0:013f5d54248c | 28 | |
| donatien | 0:013f5d54248c | 29 | #include "lwip/opt.h" |
| donatien | 0:013f5d54248c | 30 | #include "lwip/netif.h" |
| donatien | 0:013f5d54248c | 31 | |
| donatien | 0:013f5d54248c | 32 | #ifdef __cplusplus |
| donatien | 0:013f5d54248c | 33 | extern "C" |
| donatien | 0:013f5d54248c | 34 | { |
| donatien | 0:013f5d54248c | 35 | #endif |
| donatien | 0:013f5d54248c | 36 | |
| donatien | 0:013f5d54248c | 37 | /* These functions are only visible when not using an RTOS */ |
| donatien | 0:013f5d54248c | 38 | #if NO_SYS == 1 |
| donatien | 0:013f5d54248c | 39 | void lpc_enetif_input(struct netif *netif); |
| donatien | 0:013f5d54248c | 40 | s32_t lpc_tx_ready(struct netif *netif); |
| donatien | 0:013f5d54248c | 41 | s32_t lpc_rx_queue(struct netif *netif); |
| donatien | 0:013f5d54248c | 42 | void lpc_tx_reclaim(struct netif *netif); |
| donatien | 0:013f5d54248c | 43 | #endif |
| donatien | 0:013f5d54248c | 44 | |
| donatien | 0:013f5d54248c | 45 | err_t lpc_enetif_init(struct netif *netif); |
| donatien | 0:013f5d54248c | 46 | |
| donatien | 0:013f5d54248c | 47 | #ifdef __cplusplus |
| donatien | 0:013f5d54248c | 48 | } |
| donatien | 0:013f5d54248c | 49 | #endif |
| donatien | 0:013f5d54248c | 50 | |
| donatien | 0:013f5d54248c | 51 | #endif /* __LPC17_EMAC_H */ |
