V1
Fork of lwip-eth by
arch/lpc17_emac.h@3:dd8b8f5b449a, 2012-07-23 (annotated)
- Committer:
- emilmont
- Date:
- Mon Jul 23 11:52:41 2012 +0000
- Revision:
- 3:dd8b8f5b449a
- Parent:
- 0:f4db29eb9e47
- Child:
- 4:d827a085afd9
tidyup
Who changed what in which revision?
User | Revision | Line number | New 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. |
emilmont | 3:dd8b8f5b449a | 24 | **********************************************************************/ |
emilmont | 3:dd8b8f5b449a | 25 | |
emilmont | 3:dd8b8f5b449a | 26 | #ifndef __LPC17_EMAC_H |
emilmont | 3:dd8b8f5b449a | 27 | #define __LPC17_EMAC_H |
emilmont | 3:dd8b8f5b449a | 28 | |
mbed_official | 0:f4db29eb9e47 | 29 | #include "lwip/opt.h" |
emilmont | 3:dd8b8f5b449a | 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 | 3:dd8b8f5b449a | 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 | 3:dd8b8f5b449a | 39 | void lpc_enetif_input(struct netif *netif); |
mbed_official | 0:f4db29eb9e47 | 40 | s32_t lpc_tx_ready(struct netif *netif); |
emilmont | 3:dd8b8f5b449a | 41 | s32_t lpc_rx_queue(struct netif *netif); |
emilmont | 3:dd8b8f5b449a | 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 | 3:dd8b8f5b449a | 49 | #endif |
mbed_official | 0:f4db29eb9e47 | 50 | |
emilmont | 3:dd8b8f5b449a | 51 | #endif /* __LPC17_EMAC_H */ |