28 uint8_t buf[constBufSize];
111 goto FailSetDevTblEntry;
115 for(uint8_t i = 0; i < num_of_conf; i++) {
129 goto FailGetConfDescr;
134 goto FailGetConfDescr;
152 goto FailSetConfDescr;
177 #ifdef DEBUG_USB_HOST 183 #ifdef DEBUG_USB_HOST 189 #ifdef DEBUG_USB_HOST 195 #ifdef DEBUG_USB_HOST 201 #ifdef DEBUG_USB_HOST 205 #ifdef DEBUG_USB_HOST #define USB_CLASS_COM_AND_CDC_CTRL
#define USB_CLASS_CDC_DATA
uint8_t getConfDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t conf, uint8_t *dataptr)
#define CDC_PROTOCOL_ITU_T_V_250
#define CP_MASK_COMPARE_PROTOCOL
virtual void autoflowRTS(bool s)
#define USB_ERROR_EPINFO_IS_NULL
virtual uint8_t OnInit(ACM *pacm)
uint8_t setConf(uint8_t addr, uint8_t ep, uint8_t conf_value)
EpInfo epInfo[ACM_MAX_ENDPOINTS]
uint8_t Init(uint8_t parent, uint8_t port, bool lowspeed)
#define NotifyFailGetDevDescr(...)
uint8_t setEpInfoEntry(uint8_t addr, uint8_t epcount, EpInfo *eprecord_ptr)
#define CP_MASK_COMPARE_CLASS
virtual void FreeAddress(uint8_t addr)=0
virtual void half_duplex(bool s)
virtual UsbDevice * GetUsbDevicePtr(uint8_t addr)=0
XR21B1411(USB *pusb, CDCAsyncOper *pasync)
uint8_t setAddr(uint8_t oldaddr, uint8_t ep, uint8_t newaddr)
#define NotifyFailGetConfDescr(...)
virtual void wide(bool s)
virtual void autoflowXON(bool s)
#define CP_MASK_COMPARE_SUBCLASS
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
virtual tty_features enhanced_features(void)
virtual void autoflowDSR(bool s)
uint8_t bNumConfigurations
#define USB_ERROR_OUT_OF_ADDRESS_SPACE_IN_POOL
AddressPool & GetAddressPool()
#define NotifyFailSetConfDescr(...)
tty_features _enhanced_status
uint8_t getDevDescr(uint8_t addr, uint8_t ep, uint16_t nbytes, uint8_t *dataptr)
defined(USB_METHODS_INLINE)
#define NotifyFailSetDevTblEntry(...)