24 uint8_t
PL2303::Init(uint8_t parent, uint8_t port,
bool lowspeed) {
27 uint8_t buf[constBufSize];
112 goto FailSetDevTblEntry;
116 for(uint8_t i = 0; i < num_of_conf; i++) {
123 goto FailGetConfDescr;
128 goto FailGetConfDescr;
146 goto FailSetConfDescr;
160 #ifdef DEBUG_USB_HOST
166 #ifdef DEBUG_USB_HOST
172 #ifdef DEBUG_USB_HOST
178 #ifdef DEBUG_USB_HOST
184 #ifdef DEBUG_USB_HOST
188 #ifdef DEBUG_USB_HOST
uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)
#define USB_ERROR_EPINFO_IS_NULL
virtual uint8_t OnInit(ACM *pacm)
uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)
PL2303(USB *pusb, CDCAsyncOper *pasync)
uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)
EpInfo epInfo[ACM_MAX_ENDPOINTS]
#define NotifyFailGetDevDescr(...)
uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)
virtual void FreeAddress(uint8_t addr)=0
virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0
uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)
#define NotifyFailGetConfDescr(...)
virtual uint8_t AllocAddress(uint8_t parent, bool is_hub=false, uint8_t port=0)=0
#define USB_ERROR_CLASS_INSTANCE_ALREADY_IN_USE
#define USB_ERROR_ADDRESS_NOT_FOUND_IN_POOL
#define USB_DEV_CONFIG_ERROR_DEVICE_NOT_SUPPORTED
uint8_t bNumConfigurations
#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL
AddressPool & GetAddressPool()
#define NotifyFailSetConfDescr(...)
uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)
defined(USB_METHODS_INLINE)
#define NotifyFailSetDevTblEntry(...)