CDC/ECM driver for mbed, based on USBDevice by mbed-official. Uses PicoTCP to access Ethernet USB device. License: GPLv2
Fork of USB_Ethernet by
Diff: modules/pico_dev_mbed_usb.h
- Revision:
- 2:540f6e142d59
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/modules/pico_dev_mbed_usb.h Sat Aug 03 13:16:14 2013 +0000 @@ -0,0 +1,29 @@ +/********************************************************************* +PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved. +See LICENSE and COPYING for usage. +Do not redistribute without a written permission by the Copyright +holders. + +File: pico_dev_mbed.h +Author: Toon Peters +*********************************************************************/ + +#ifndef PICO_DEV_MBED_USB_H +#define PICO_DEV_MBED_USB_H +#ifdef __cplusplus +#include "USBCDC_ECM.h" +extern "C" { +#endif + +#include "pico_config.h" +#include "pico_device.h" + +void pico_mbed_usb_destroy(struct pico_device *vde); +struct pico_device *pico_mbed_usb_create(char *name, USBCDC_ECM *usb); + +#ifdef __cplusplus +} +#endif + +#endif /* PICO_DEV_MBED_H */ +