CDC/ECM driver for mbed, based on USBDevice by mbed-official. Uses PicoTCP to access Ethernet USB device. License: GPLv2

Dependents:   USBEthernet_TEST

Fork of USB_Ethernet by Daniele Lacamera

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers pico_dev_mbed_usb.h Source File

pico_dev_mbed_usb.h

00001 /*********************************************************************
00002 PicoTCP. Copyright (c) 2012 TASS Belgium NV. Some rights reserved.
00003 See LICENSE and COPYING for usage.
00004 Do not redistribute without a written permission by the Copyright
00005 holders.
00006 
00007 File: pico_dev_mbed.h
00008 Author: Toon Peters
00009 *********************************************************************/
00010 
00011 #ifndef PICO_DEV_MBED_USB_H
00012 #define PICO_DEV_MBED_USB_H
00013 #ifdef __cplusplus
00014 #include "USBCDC_ECM.h"
00015 extern "C" {
00016 #endif
00017 
00018 #include "pico_config.h"
00019 #include "pico_device.h"
00020 
00021 void pico_mbed_usb_destroy(struct pico_device *vde);
00022 struct pico_device *pico_mbed_usb_create(char *name, USBCDC_ECM *usb);
00023 
00024 #ifdef __cplusplus
00025 }
00026 #endif
00027 
00028 #endif    /* PICO_DEV_MBED_H */
00029