Deprecated fork of old network stack source from github. Please use official library instead: https://mbed.org/users/mbed_official/code/EthernetInterface/
lwip-eth/arch/lpc17_emac.h@0:3b00827bb0b7, 2013-09-07 (annotated)
- Committer:
- AdamGreen
- Date:
- Sat Sep 07 21:38:42 2013 +0000
- Revision:
- 0:3b00827bb0b7
Sync to latest network stack source from github.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
AdamGreen | 0:3b00827bb0b7 | 1 | /********************************************************************** |
AdamGreen | 0:3b00827bb0b7 | 2 | * $Id$ lpc17_emac.h 2011-11-20 |
AdamGreen | 0:3b00827bb0b7 | 3 | *//** |
AdamGreen | 0:3b00827bb0b7 | 4 | * @file lpc17_emac.h |
AdamGreen | 0:3b00827bb0b7 | 5 | * @brief LPC17 ethernet driver header file for LWIP |
AdamGreen | 0:3b00827bb0b7 | 6 | * @version 1.0 |
AdamGreen | 0:3b00827bb0b7 | 7 | * @date 20. Nov. 2011 |
AdamGreen | 0:3b00827bb0b7 | 8 | * @author NXP MCU SW Application Team |
AdamGreen | 0:3b00827bb0b7 | 9 | * |
AdamGreen | 0:3b00827bb0b7 | 10 | * Copyright(C) 2011, NXP Semiconductor |
AdamGreen | 0:3b00827bb0b7 | 11 | * All rights reserved. |
AdamGreen | 0:3b00827bb0b7 | 12 | * |
AdamGreen | 0:3b00827bb0b7 | 13 | *********************************************************************** |
AdamGreen | 0:3b00827bb0b7 | 14 | * Software that is described herein is for illustrative purposes only |
AdamGreen | 0:3b00827bb0b7 | 15 | * which provides customers with programming information regarding the |
AdamGreen | 0:3b00827bb0b7 | 16 | * products. This software is supplied "AS IS" without any warranties. |
AdamGreen | 0:3b00827bb0b7 | 17 | * NXP Semiconductors assumes no responsibility or liability for the |
AdamGreen | 0:3b00827bb0b7 | 18 | * use of the software, conveys no license or title under any patent, |
AdamGreen | 0:3b00827bb0b7 | 19 | * copyright, or mask work right to the product. NXP Semiconductors |
AdamGreen | 0:3b00827bb0b7 | 20 | * reserves the right to make changes in the software without |
AdamGreen | 0:3b00827bb0b7 | 21 | * notification. NXP Semiconductors also make no representation or |
AdamGreen | 0:3b00827bb0b7 | 22 | * warranty that such application will be suitable for the specified |
AdamGreen | 0:3b00827bb0b7 | 23 | * use without further testing or modification. |
AdamGreen | 0:3b00827bb0b7 | 24 | **********************************************************************/ |
AdamGreen | 0:3b00827bb0b7 | 25 | |
AdamGreen | 0:3b00827bb0b7 | 26 | #ifndef __LPC17_EMAC_H |
AdamGreen | 0:3b00827bb0b7 | 27 | #define __LPC17_EMAC_H |
AdamGreen | 0:3b00827bb0b7 | 28 | |
AdamGreen | 0:3b00827bb0b7 | 29 | #include "lwip/opt.h" |
AdamGreen | 0:3b00827bb0b7 | 30 | #include "lwip/netif.h" |
AdamGreen | 0:3b00827bb0b7 | 31 | |
AdamGreen | 0:3b00827bb0b7 | 32 | #ifdef __cplusplus |
AdamGreen | 0:3b00827bb0b7 | 33 | extern "C" |
AdamGreen | 0:3b00827bb0b7 | 34 | { |
AdamGreen | 0:3b00827bb0b7 | 35 | #endif |
AdamGreen | 0:3b00827bb0b7 | 36 | |
AdamGreen | 0:3b00827bb0b7 | 37 | /* These functions are only visible when not using an RTOS */ |
AdamGreen | 0:3b00827bb0b7 | 38 | #if NO_SYS == 1 |
AdamGreen | 0:3b00827bb0b7 | 39 | void lpc_enetif_input(struct netif *netif); |
AdamGreen | 0:3b00827bb0b7 | 40 | s32_t lpc_tx_ready(struct netif *netif); |
AdamGreen | 0:3b00827bb0b7 | 41 | s32_t lpc_rx_queue(struct netif *netif); |
AdamGreen | 0:3b00827bb0b7 | 42 | void lpc_tx_reclaim(struct netif *netif); |
AdamGreen | 0:3b00827bb0b7 | 43 | #endif |
AdamGreen | 0:3b00827bb0b7 | 44 | |
AdamGreen | 0:3b00827bb0b7 | 45 | err_t lpc_enetif_init(struct netif *netif); |
AdamGreen | 0:3b00827bb0b7 | 46 | |
AdamGreen | 0:3b00827bb0b7 | 47 | #ifdef __cplusplus |
AdamGreen | 0:3b00827bb0b7 | 48 | } |
AdamGreen | 0:3b00827bb0b7 | 49 | #endif |
AdamGreen | 0:3b00827bb0b7 | 50 | |
AdamGreen | 0:3b00827bb0b7 | 51 | #endif /* __LPC17_EMAC_H */ |