阅读:1041回复:1
那位大虾知道D12 endpoint2不做DMA方式的读写流程图
那位大虾知道D12 endpoint2不做DMA方式的读写流程图
|
|
沙发#
发布于:2003-03-12 11:21
没有人知道吗?是不是这样
read: 1. clear interrupt flag 2. read endpoint status, if buffer empty, then return 3. read data from buffer here: 要不要回ACK??? 4. if length<MAX_PACKET_SIZE then retrun 5. if length=MAX_PACKET_SIZE then set flag(we have multi packet to read) 6. if length=0 then this pecket rx finished. |
|