Nut/OS  5.0.5
API Reference
stm32_otg.h
Go to the documentation of this file.
00001 #ifndef _STM32_OTG_H_
00002 #define _STM32_OTG_H_
00003 
00004 #include <sys/device.h>
00005 
00006 #define IOCTL_ADD_IFACE_DESC    1
00007 #define IOCTL_DEL_IFACE_DESC    2
00008 #define IOCTL_ADD_STR_DESC  3
00009 #define IOCTL_DEL_STR_DESC  4
00010 #define IOCTL_USB_DEV_RESET 5
00011 
00012 #define USB_DEVICE_DESCRIPTOR_TYPE              0x01
00013 #define USB_CONFIGURATION_DESCRIPTOR_TYPE       0x02
00014 #define USB_STRING_DESCRIPTOR_TYPE              0x03
00015 #define USB_INTERFACE_DESCRIPTOR_TYPE           0x04
00016 #define USB_ENDPOINT_DESCRIPTOR_TYPE            0x05
00017 
00018 typedef void (* EP_CALLBACK)(void*);
00019 
00020 extern NUTDEVICE devStm32Otg;
00021 
00022 #endif