A web server for monitoring and controlling a MakerBot Replicator over the USB host and ethernet.

Dependencies:   IAP NTPClient RTC mbed-rtos mbed Socket lwip-sys lwip BurstSPI

Fork of LPC1768_Mini-DK by Frank Vannieuwkerke

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers lpc17_emac.h Source File

lpc17_emac.h

Go to the documentation of this file.
00001 /**********************************************************************
00002 * $Id$        lpc17_emac.h            2011-11-20
00003 *//**
00004 * @file        lpc17_emac.h
00005 * @brief    LPC17 ethernet driver header file for LWIP
00006 * @version    1.0
00007 * @date        20. Nov. 2011
00008 * @author    NXP MCU SW Application Team
00009 * 
00010 * Copyright(C) 2011, NXP Semiconductor
00011 * All rights reserved.
00012 *
00013 ***********************************************************************
00014 * Software that is described herein is for illustrative purposes only
00015 * which provides customers with programming information regarding the
00016 * products. This software is supplied "AS IS" without any warranties.
00017 * NXP Semiconductors assumes no responsibility or liability for the
00018 * use of the software, conveys no license or title under any patent,
00019 * copyright, or mask work right to the product. NXP Semiconductors
00020 * reserves the right to make changes in the software without
00021 * notification. NXP Semiconductors also make no representation or
00022 * warranty that such application will be suitable for the specified
00023 * use without further testing or modification.
00024 **********************************************************************/
00025 
00026 #ifndef __LPC17_EMAC_H
00027 #define __LPC17_EMAC_H
00028 
00029 #include "lwip/opt.h"
00030 #include "lwip/netif.h"
00031 
00032 #ifdef __cplusplus
00033 extern "C"
00034 {
00035 #endif
00036 
00037 /* These functions are only visible when not using an RTOS */ 
00038 #if NO_SYS == 1
00039 void lpc_enetif_input(struct netif *netif);
00040 s32_t lpc_tx_ready(struct netif *netif);
00041 s32_t lpc_rx_queue(struct netif *netif);
00042 void lpc_tx_reclaim(struct netif *netif);
00043 #endif
00044 
00045 err_t lpc_enetif_init(struct netif *netif);
00046 
00047 #ifdef __cplusplus
00048 }
00049 #endif
00050 
00051 #endif /* __LPC17_EMAC_H */