24 uint8_t
PL2303::Init(uint8_t parent, uint8_t port,
bool lowspeed) {
27 uint8_t buf[constBufSize];
127 goto FailSetDevTblEntry;
131 for(uint8_t i = 0; i < num_of_conf; i++) {
138 goto FailGetConfDescr;
143 goto FailGetConfDescr;
161 goto FailSetConfDescr;
165 vendorRead( 0x84, 0x84, 0, buf );
166 vendorWrite( 0x04, 0x04, 0 );
167 vendorRead( 0x84, 0x84, 0, buf );
168 vendorRead( 0x83, 0x83, 0, buf );
169 vendorRead( 0x84, 0x84, 0, buf );
170 vendorWrite( 0x04, 0x04, 1 );
171 vendorRead( 0x84, 0x84, 0, buf);
172 vendorRead( 0x83, 0x83, 0, buf);
173 vendorWrite( 0, 0, 1 );
174 vendorWrite( 1, 0, 0 );
176 vendorWrite( 2, 0, 0x44 );
177 vendorWrite( 0x06, 0x06, 0 );
180 vendorWrite( 2, 0, 0x24 );
197 #ifdef DEBUG_USB_HOST
203 #ifdef DEBUG_USB_HOST
209 #ifdef DEBUG_USB_HOST
215 #ifdef DEBUG_USB_HOST
221 #ifdef DEBUG_USB_HOST
225 #ifdef DEBUG_USB_HOST