Versions in this module Expand all Collapse all v0 v0.3.0 Aug 28, 2025 Changes in this version + const CDC_ACM_INTERFACE + const CDC_DATA_INTERFACE + const CDC_ENDPOINT_ACM + const CDC_ENDPOINT_IN + const CDC_ENDPOINT_OUT + const CDC_FIRST_ENDPOINT + const CLEAR_FEATURE + const CONFIG_BUS_POWERED + const CONFIG_POWERED_MASK + const CONFIG_REMOTE_WAKEUP + const CONFIG_SELF_POWERED + const CONTROL_ENDPOINT + const DEVICE_CLASS_COMMUNICATIONS + const DEVICE_CLASS_HUMAN_INTERFACE + const DEVICE_CLASS_STORAGE + const DEVICE_CLASS_VENDOR_SPECIFIC + const DescriptorConfigCDC + const DescriptorConfigHID + const DescriptorConfigJoystick + const DescriptorConfigMIDI + const ENDPOINT_TYPE_BULK + const ENDPOINT_TYPE_CONTROL + const ENDPOINT_TYPE_DISABLE + const ENDPOINT_TYPE_INTERRUPT + const ENDPOINT_TYPE_ISOCHRONOUS + const EndpointIn + const EndpointOut + const EndpointPacketSize + const GET_CONFIGURATION + const GET_DESCRIPTOR + const GET_IDLE + const GET_INTERFACE + const GET_MAX_LUN + const GET_PROTOCOL + const GET_REPORT + const GET_STATUS + const HID_ENDPOINT_IN + const HID_ENDPOINT_OUT + const HID_INTERFACE + const IMANUFACTURER + const IPRODUCT + const ISERIAL + const MIDI_ENDPOINT_IN + const MIDI_ENDPOINT_OUT + const MSC_ENDPOINT_IN + const MSC_ENDPOINT_OUT + const MSC_RESET + const NumberOfInterfaces + const REQUEST_CLASS + const REQUEST_DEVICE + const REQUEST_DEVICETOHOST + const REQUEST_DEVICETOHOST_CLASS_INTERFACE + const REQUEST_DEVICETOHOST_STANDARD_INTERFACE + const REQUEST_DIRECTION + const REQUEST_ENDPOINT + const REQUEST_HOSTTODEVICE + const REQUEST_HOSTTODEVICE_CLASS_INTERFACE + const REQUEST_INTERFACE + const REQUEST_OTHER + const REQUEST_RECIPIENT + const REQUEST_STANDARD + const REQUEST_TYPE + const REQUEST_VENDOR + const SET_ADDRESS + const SET_CONFIGURATION + const SET_DESCRIPTOR + const SET_FEATURE + const SET_IDLE + const SET_INTERFACE + const SET_PROTOCOL + const SET_REPORT + const SET_REPORT_TYPE + var Manufacturer string + var Product string + var ProductID uint16 + var STRING_LANGUAGE = [2]uint16 + var Serial string + var VendorID uint16 + type EndpointConfig struct + DelayRxHandler func([]byte) bool + Index uint8 + IsIn bool + RxHandler func([]byte) + StallHandler func(Setup) bool + TxHandler func() + Type uint8 + type Setup struct + BRequest uint8 + BmRequestType uint8 + WIndex uint16 + WLength uint16 + WValueH uint8 + WValueL uint8 + func NewSetup(data []byte) Setup + type SetupConfig struct + Handler func(Setup) bool + Index uint8