From: Oleksij Rempel Date: Tue, 23 Jul 2013 15:30:08 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0997f21ff5f5d18f01ccff6869d587ed3c2acafe;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index fdfffb7..3359f31 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -179,10 +179,10 @@ Current configuration: # 0x3d mUsbEPMap EP14 # 0x3e mUsbEPMap EP15 -# 0x3E ZM_EP_IN_MAX_SIZE_LOW_OFFSET -* BIT0 - BIT7; low size regs. +# 0x3E ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP0 +* BIT0 - BIT7; low size regs. Max size 0x7ff (ZM_EP_IN_MAX_SIZE_LOW_OFFSET + ZM_EP_IN_MAX_SIZE_HIGH_OFFSET) -# 0x3F ZM_EP_IN_MAX_SIZE_HIGH_OFFSET +# 0x3F ZM_EP_IN_MAX_SIZE_HIGH_OFFSET EP0 * BIT7 * BIT6 * BIT5 @@ -192,7 +192,25 @@ Current configuration: These offset + 2 Byte step for each endpoint. For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). In these address space will fit 15 endpoints. + +# 0x40 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP1 +# 0x42 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP2 +# 0x44 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP3 +# 0x46 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP4 +# 0x48 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP5 +# 0x4A ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP6 +# 0x4C ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP7 +# 0x4E ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP8 +# 0x50 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP9 +# 0x52 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP10 +# 0x54 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP11 +# 0x56 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP12 +# 0x58 ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP13 +# 0x5A ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP14 +# 0x5C ZM_EP_IN_MAX_SIZE_LOW_OFFSET EP15 + # 0x5E ZM_EP_OUT_MAX_SIZE_LOW_OFFSET +* BIT0 - BIT7; low size regs. Max size 0x7ff (ZM_EP_OUT_MAX_SIZE_LOW_OFFSET + ZM_EP_OUT_MAX_SIZE_HIGH_OFFSET) # 0x5F ZM_EP_OUT_MAX_SIZE_HIGH_OFFSET * BIT7 @@ -200,9 +218,8 @@ For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). In these address spa * BIT5 * BIT4 - mUsbEPoutRsTgSet * BIT3 - mUsbEPoutStallSet -* BIT2 -* BIT1 -* BIT0 +* BIT0 - BIT2; High size regs + These offset + 2 Byte step for each endpoint. For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). In these address space will fit 15 endpoints.