From: Oleksij Rempel Date: Mon, 15 Jul 2013 07:17:30 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f7240fd97c34e7bcd266d536ac362360c10b928;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- diff --git a/usb-regs.md b/usb-regs.md index 54582b3..48a0e04 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -134,13 +134,33 @@ these endpoints are handled by DMA * BIT1 - USB reset interrupt. * BIT0 -# 0x3F ZM_EP_IN_MAX_SIZE_HIGH_OFFSET - # 0x3E ZM_EP_IN_MAX_SIZE_LOW_OFFSET +# 0x3F ZM_EP_IN_MAX_SIZE_HIGH_OFFSET +* BIT7 +* BIT6 +* BIT5 +* BIT4 - mUsbEPinRsTgSet +* BIT3 - mUsbEPinStallSet +* BIT2 +* BIT1 +* BIT0 +These offset + 2 Byte step for each endpoint. +For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). + # 0x5E ZM_EP_OUT_MAX_SIZE_LOW_OFFSET # 0x5F ZM_EP_OUT_MAX_SIZE_HIGH_OFFSET +* BIT7 +* BIT6 +* BIT5 +* BIT4 - mUsbEPoutRsTgSet +* BIT3 - mUsbEPoutStallSet +* BIT2 +* BIT1 +* BIT0 +These offset + 2 Byte step for each endpoint. +For example EP0 = +0x00; EP1 = +0x02; or offset+(EPn << 1). # 0xAE ZM_EP3_BYTE_COUNT_HIGH_OFFSET BIT3 - 1 xfer done?