From 7f7240fd97c34e7bcd266d536ac362360c10b928 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Mon, 15 Jul 2013 00:17:30 -0700 Subject: [PATCH] Updated usb regs (markdown) --- usb-regs.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) 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? -- 2.25.1