A PicoTCP driver for the lpc1768 mbed board
Dependents: lpc1768-picotcp-demo TCPSocket_HelloWorld_PicoTCP Pico_TCP_UDP_Test TCPSocket_HelloWorld_PicoTCP ... more
pico_dev_mbed_emac.h@15:53fd77850eee, 2014-01-16 (annotated)
- Committer:
- tass
- Date:
- Thu Jan 16 14:21:58 2014 +0000
- Revision:
- 15:53fd77850eee
- Parent:
- 0:b6a2ecc0d29e
fixed warning unused variable
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tass | 0:b6a2ecc0d29e | 1 | /****************************************************************************** |
tass | 0:b6a2ecc0d29e | 2 | PicoTCP. Copyright (c) 2012-2013 TASS Belgium NV. Some rights reserved. |
tass | 0:b6a2ecc0d29e | 3 | See LICENSE and COPYING for usage. https://github.com/tass-belgium/picotcp |
tass | 0:b6a2ecc0d29e | 4 | |
tass | 0:b6a2ecc0d29e | 5 | This library is free software; you can redistribute it and/or |
tass | 0:b6a2ecc0d29e | 6 | modify it under the terms of the GNU General Public License Version 2 |
tass | 0:b6a2ecc0d29e | 7 | as published by the Free Software Foundation; |
tass | 0:b6a2ecc0d29e | 8 | |
tass | 0:b6a2ecc0d29e | 9 | Some of the code contained in this file is based on mbed.org |
tass | 0:b6a2ecc0d29e | 10 | mbed/libraries/mbed/vendor/NXP/capi/ethernet_api.c module, |
tass | 0:b6a2ecc0d29e | 11 | licensed under the Apache License, Version 2.0 |
tass | 0:b6a2ecc0d29e | 12 | and is Copyright (c) 2006-2013 ARM Limited |
tass | 0:b6a2ecc0d29e | 13 | |
tass | 0:b6a2ecc0d29e | 14 | Authors: Maxime Vincent, Andrei Carp |
tass | 0:b6a2ecc0d29e | 15 | |
tass | 0:b6a2ecc0d29e | 16 | ******************************************************************************/ |
tass | 0:b6a2ecc0d29e | 17 | |
tass | 0:b6a2ecc0d29e | 18 | #ifndef __PICO_DEV_MBED_EMAC_H |
tass | 0:b6a2ecc0d29e | 19 | #define __PICO_DEV_MBED_EMAC_H |
tass | 0:b6a2ecc0d29e | 20 | |
tass | 0:b6a2ecc0d29e | 21 | #include "cmsis_os.h" |
tass | 0:b6a2ecc0d29e | 22 | #include <stdint.h> |
tass | 0:b6a2ecc0d29e | 23 | |
tass | 0:b6a2ecc0d29e | 24 | /******************** |
tass | 0:b6a2ecc0d29e | 25 | * Public functions * |
tass | 0:b6a2ecc0d29e | 26 | ********************/ |
tass | 0:b6a2ecc0d29e | 27 | extern "C" { |
tass | 0:b6a2ecc0d29e | 28 | struct pico_device *pico_emac_create(char *name); |
tass | 0:b6a2ecc0d29e | 29 | extern void pico_emac_init(void); |
tass | 0:b6a2ecc0d29e | 30 | extern void ENET_IRQHandler(void); |
tass | 0:b6a2ecc0d29e | 31 | } |
tass | 0:b6a2ecc0d29e | 32 | |
tass | 0:b6a2ecc0d29e | 33 | #endif |