Nut/OS  5.0.5
API Reference
stm32_usb_desc.c File Reference
Include dependency graph for stm32_usb_desc.c:

Variables

const uint8_t Virtual_Com_Port_DeviceDescriptor []
const uint8_t Virtual_Com_Port_ConfigDescriptor []
const uint8_t Virtual_Com_Port_StringLangID [VIRTUAL_COM_PORT_SIZ_STRING_LANGID]
const uint8_t Virtual_Com_Port_StringVendor [VIRTUAL_COM_PORT_SIZ_STRING_VENDOR]
const uint8_t Virtual_Com_Port_StringProduct [VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT]
uint8_t Virtual_Com_Port_StringSerial [VIRTUAL_COM_PORT_SIZ_STRING_SERIAL]

Variable Documentation

Initial value:
  {
    0x12,   
    USB_DEVICE_DESCRIPTOR_TYPE,     
    0x00,
    0x02,   
    0x02,   
    0x02,   
    0x00,   
    0x40,   
    0xEB,
    0x03,   
    0x24,
    0x61,   
    0x00,
    0x01,   
    1,              
    2,              
    0,              
    0x01    
  }
Initial value:
  {
    
    0x09,   
    USB_CONFIGURATION_DESCRIPTOR_TYPE,      
    46,       
    0x00,
    0x01,   
    0x01,   
    0x00,   
    0x80,   
    0x32,   

    
    0x09,   
    USB_INTERFACE_DESCRIPTOR_TYPE,  
    
    0x00,   
    0x00,   
    0x02,   
    0x0A,   
    0x00,   
    0x00,   
    0x00,   
    
    0x05,   
    0x24,   
    0x00,   
    0x10,   
    0x01,
    
    0x05,   
    0x24,   
    0x01,   
    0x00,   
    0x01,   
    
    0x04,   
    0x24,   
    0x02,   
    0x02,   
    
    0x07,   
    USB_ENDPOINT_DESCRIPTOR_TYPE,   
    0x03,   
    0x02,   
    VIRTUAL_COM_PORT_DATA_SIZE,             
    0x00,
    0x00,   
    
    0x07,   
    USB_ENDPOINT_DESCRIPTOR_TYPE,   
    0x81,   
    0x02,   
    VIRTUAL_COM_PORT_DATA_SIZE,             
    0x00,
    0x00    
  }

Referenced by Virtual_Com_Port_Reset().

const uint8_t Virtual_Com_Port_StringLangID[VIRTUAL_COM_PORT_SIZ_STRING_LANGID]
const uint8_t Virtual_Com_Port_StringVendor[VIRTUAL_COM_PORT_SIZ_STRING_VENDOR]
Initial value:
  {
    VIRTUAL_COM_PORT_SIZ_STRING_VENDOR,     
    USB_STRING_DESCRIPTOR_TYPE,             
    
    'S', 0, 'T', 0, 'M', 0, 'i', 0, 'c', 0, 'r', 0, 'o', 0, 'e', 0,
    'l', 0, 'e', 0, 'c', 0, 't', 0, 'r', 0, 'o', 0, 'n', 0, 'i', 0,
    'c', 0, 's', 0
  }
const uint8_t Virtual_Com_Port_StringProduct[VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT]
Initial value:
  {
    VIRTUAL_COM_PORT_SIZ_STRING_PRODUCT,          
    USB_STRING_DESCRIPTOR_TYPE,        
    
    'S', 0, 'T', 0, 'M', 0, '3', 0, '2', 0, ' ', 0, 'V', 0, 'i', 0,
    'r', 0, 't', 0, 'u', 0, 'a', 0, 'l', 0, ' ', 0, 'C', 0, 'O', 0,
    'M', 0, ' ', 0, 'P', 0, 'o', 0, 'r', 0, 't', 0, ' ', 0, ' ', 0
  }
uint8_t Virtual_Com_Port_StringSerial[VIRTUAL_COM_PORT_SIZ_STRING_SERIAL]
Initial value:
  {
    VIRTUAL_COM_PORT_SIZ_STRING_SERIAL,           
    USB_STRING_DESCRIPTOR_TYPE,                   
    'S', 0, 'T', 0, 'M', 0, '3', 0, '2', 0, '1', 0, '0', 0
  }

Referenced by Get_SerialNum().