Updated usb regs (markdown)
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Jul 2013 13:32:02 +0000 (06:32 -0700)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Jul 2013 13:32:02 +0000 (06:32 -0700)
usb-regs.md

index 41e3355b9f8964b25a55537bf05140db410be893..39fa45c358a321929fc97d6c37decbfb11bd4533 100644 (file)
@@ -248,6 +248,47 @@ Current layout:
 # 0x8e mUsbFIFOMap FIFO14                                                               
 # 0x8f mUsbFIFOMap FIFO15
 
+# 0x90 mUsbFIFOConfig FIFO0
+* BIT7 - If EPn use more then one FIFO, then this bit should be on the first
+* BIT6
+* BIT5
+* BIT4 - Block size: 0 - 64/512; 1 - 128/1024. It depends on initial FIFO size.
+* BIT2 - BIT3; number of FIFO blocks or better to say extra blocks? 0 - no more blocks; 1 - one block; 2 - two blocks.
+* BIT0 - BIT1; EP type: 0x1 - Iso; 0x2 - Bulk, 0x3 - Intr;
+
+* 0x90 0x86                                                                     
+* 0x91 0x06                                                                     
+* 0x92 0x86                                                                     
+* 0x93 0x06                                                                     
+* 0x94 0x86                                                                     
+* 0x95 0x06                                                                     
+* 0x96 0x86                                                                     
+* 0x97 0x06                                                                     
+* 0x98 0x00                                                                     
+* 0x99 0x00                                                                     
+* 0x9a 0x00                                                                     
+* 0x9b 0x00                                                                     
+* 0x9c 0x00                                                                     
+* 0x9d 0x00                                                                     
+* 0x9e 0x83                                                                     
+* 0x9f 0x83 
+
+# 0x91 mUsbFIFOConfig FIFO1                                                                    
+# 0x92 mUsbFIFOConfig FIFO2                                                                    
+# 0x93 mUsbFIFOConfig FIFO3                                                                     
+# 0x94 mUsbFIFOConfig FIFO4                                                                     
+# 0x95 mUsbFIFOConfig FIFO5                                                                     
+# 0x96 mUsbFIFOConfig FIFO6                                                                     
+# 0x97 mUsbFIFOConfig FIFO7                                                                     
+# 0x98 mUsbFIFOConfig FIFO8                                                                     
+# 0x99 mUsbFIFOConfig FIFO9                                                                     
+# 0x9a mUsbFIFOConfig FIFO10                                                                     
+# 0x9b mUsbFIFOConfig FIFO11                                                                     
+# 0x9c mUsbFIFOConfig FIFO12                                                                     
+# 0x9d mUsbFIFOConfig FIFO13                                                                     
+# 0x9e mUsbFIFOConfig FIFO14                                                                     
+# 0x9f mUsbFIFOConfig FIFO15  
+
 # 0xAE ZM_EP3_BYTE_COUNT_HIGH_OFFSET
     BIT3 - 1 xfer done?
     comments: after sending data from target to host, set BIT3