#include <dev/usb_stm32/usb_lib.h>
#include <dev/usb_stm32/usb_conf.h>
#include <dev/usb_stm32/usb_prop.h>
#include <dev/usb_stm32/usb_desc.h>
#include <dev/usb_stm32/usb_pwr.h>
#include <dev/usb_stm32/hw_config.h>
void Virtual_Com_Port_init | ( | void | ) |
References bDeviceState, _DEVICE_INFO::Current_Configuration, OTG_DEV_Init(), pInformation, and UNCONNECTED.
void Virtual_Com_Port_Reset | ( | void | ) |
References ATTACHED, bDeviceState, _DEVICE_INFO::Current_Configuration, _DEVICE_INFO::Current_Feature, _DEVICE_INFO::Current_Interface, EP1_IN, EP3_OUT, OTG_DEV_EP_Init(), OTG_DEV_EP_TYPE_BULK, pInformation, Virtual_Com_Port_ConfigDescriptor, and VIRTUAL_COM_PORT_DATA_SIZE.
void Virtual_Com_Port_SetConfiguration | ( | void | ) |
References bDeviceState, CONFIGURED, _DEVICE_INFO::Current_Configuration, and Device_Info.
void Virtual_Com_Port_SetDeviceAddress | ( | void | ) |
References ADDRESSED, and bDeviceState.
void Virtual_Com_Port_Status_In | ( | void | ) |
References Request, and SET_LINE_CODING.
void Virtual_Com_Port_Status_Out | ( | void | ) |
References CLASS_REQUEST, _ENDPOINT_INFO::CopyData, _DEVICE_INFO::Ctrl_Info, GET_LINE_CODING, INTERFACE_RECIPIENT, NULL, pInformation, Request, SET_LINE_CODING, Type_Recipient, USB_SUCCESS, USB_UNSUPPORT, _ENDPOINT_INFO::Usb_wOffset, Virtual_Com_Port_GetLineCoding(), and Virtual_Com_Port_SetLineCoding().
References NULL, pInformation, and Standard_GetDescriptorData().
References USB_SUCCESS, and USB_UNSUPPORT.
References _DEVICE_INFO::Ctrl_Info, linecoding, NULL, pInformation, and _ENDPOINT_INFO::Usb_wLength.
Referenced by Virtual_Com_Port_Data_Setup().
References _DEVICE_INFO::Ctrl_Info, linecoding, NULL, pInformation, and _ENDPOINT_INFO::Usb_wLength.
Referenced by Virtual_Com_Port_Data_Setup().
* $Id: stm32_usb_prop.c 4268 2012-06-15 13:24:08Z haraldkipp $ *
Referenced by Virtual_Com_Port_Data_Setup(), and Virtual_Com_Port_Status_In().
Referenced by Virtual_Com_Port_NoData_Setup().
Referenced by Virtual_Com_Port_NoData_Setup().
{ 115200, 0x00, 0x00, 0x08 }
Referenced by Virtual_Com_Port_GetLineCoding(), and Virtual_Com_Port_SetLineCoding().
{ EP_NUM, 1 }
Referenced by Standard_ClearFeature(), Standard_SetConfiguration(), and Standard_SetEndPointFeature().
{ Virtual_Com_Port_init, Virtual_Com_Port_Reset, Virtual_Com_Port_Status_In, Virtual_Com_Port_Status_Out, Virtual_Com_Port_Data_Setup, Virtual_Com_Port_NoData_Setup, Virtual_Com_Port_Get_Interface_Setting, Virtual_Com_Port_GetDeviceDescriptor, Virtual_Com_Port_GetConfigDescriptor, Virtual_Com_Port_GetStringDescriptor, 0, 0x40 }
Referenced by Post0_Process(), Standard_ClearFeature(), and USB_Init().
{ Virtual_Com_Port_GetConfiguration, Virtual_Com_Port_SetConfiguration, Virtual_Com_Port_GetInterface, Virtual_Com_Port_SetInterface, Virtual_Com_Port_GetStatus, Virtual_Com_Port_ClearFeature, Virtual_Com_Port_SetEndPointFeature, Virtual_Com_Port_SetDeviceFeature, Virtual_Com_Port_SetDeviceAddress }
Referenced by USB_Init().
{ {(uint8_t*)Virtual_Com_Port_StringLangID, VIRTUAL_COM_PORT_SIZ_STRING_LANGID}, {(uint8_t*)Virtual_Com_Port_StringVendor, VIRTUAL_COM_PORT_SIZ_STRING_VENDOR}, {(uint8_t*)Virtual_Com_Port_StringProduct, VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT}, {(uint8_t*)Virtual_Com_Port_StringSerial, VIRTUAL_COM_PORT_SIZ_STRING_SERIAL} }