{ | { | ||||
t->qtd.alt_next = 1; // 1=terminate | t->qtd.alt_next = 1; // 1=terminate | ||||
if (data01) data01 = 0x80000000; | if (data01) data01 = 0x80000000; | ||||
t->qtd.token = data01 | (len << 16) | (irq ? 0x8000 : 0) | (pid << 8) | 0x8000; | |||||
t->qtd.token = data01 | (len << 16) | (irq ? 0x8000 : 0) | (pid << 8) | 0x80; | |||||
uint32_t addr = (uint32_t)buf; | uint32_t addr = (uint32_t)buf; | ||||
t->qtd.buffer[0] = addr; | t->qtd.buffer[0] = addr; | ||||
addr &= 0xFFFFF000; | addr &= 0xFFFFF000; |