From be12952fc4681ce4c82e8a3d42602337747e4eee Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sun, 14 Jul 2013 12:54:18 -0700 Subject: [PATCH] Updated usb regs (markdown) --- usb-regs.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/usb-regs.md b/usb-regs.md index 618eca8..4cd90a3 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -90,14 +90,42 @@ USB IN FIFO # 0x18 ZM_INTR_MASK_BYTE_7_OFFSET # 0x20 ZM_INTR_GROUP_OFFSET +* BIT7 - group INTR 7 +* BIT6 - group INTR 6 +* BIT5 - group INTR 5 +* BIT4 - group INTR 4 +* BIT3 - group INTR 3 +* BIT2 - group INTR 2 +* BIT1 - group INTR 1 +* BIT0 - group INTR 0 +These bits indicate if fallowing groups got some interrupt. + # 0x21 ZM_INTR_SOURCE_0_OFFSET +* BIT7 - abort interrupt? should be cleared first? +* BIT6 - +* BIT5 - +* BIT4 - ep0 CMD_FAIL +* BIT3 - ep0 CMD_END +* BIT2 - USB EP0 OUT/rx interrupt +* BIT1 - USB EP0 IN/tx interrupt +* BIT0 - ep0 SETUP + # 0x22 ZM_INTR_SOURCE_1_OFFSET # 0x23 ZM_INTR_SOURCE_2_OFFSET # 0x24 ZM_INTR_SOURCE_3_OFFSET # 0x25 ZM_INTR_SOURCE_4_OFFSET # 0x26 ZM_INTR_SOURCE_5_OFFSET # 0x27 ZM_INTR_SOURCE_6_OFFSET + # 0x28 ZM_INTR_SOURCE_7_OFFSET +* BIT7 +* BIT6 +* BIT5 +* BIT4 +* BIT3 +* BIT2 +* BIT1 - USB reset interrupt. +* BIT0 # 0x3F ZM_EP_IN_MAX_SIZE_HIGH_OFFSET # 0x3E ZM_EP_IN_MAX_SIZE_LOW_OFFSET -- 2.25.1