From 597ff4fabab3ab584d92557db3c007e5fba881b3 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sat, 13 Jul 2013 13:20:31 -0700 Subject: [PATCH] Updated usb regs (markdown) --- usb-regs.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usb-regs.md b/usb-regs.md index c58cc4c..03b218f 100644 --- a/usb-regs.md +++ b/usb-regs.md @@ -56,14 +56,16 @@ #define mUSB_REG_OUT_INT_ENABLE() USB_BYTE_REG_WRITE(ZM_INTR_MASK_BYTE_4_OFFSET, \ USB_BYTE_REG_READ(ZM_INTR_MASK_BYTE_4_OFFSET)&0x3f) - #define mUSB_REG_OUT_INT_DISABLE() USB_BYTE_REG_WRITE(ZM_INTR_MASK_BYTE_4_OFFSET, \ USB_BYTE_REG_READ(ZM_INTR_MASK_BYTE_4_OFFSET)&0xc0) # 0x16 ZM_INTR_MASK_BYTE_5_OFFSET # 0x17 ZM_INTR_MASK_BYTE_6_OFFSET - + #define mUSB_STATUS_IN_INT_ENABLE() USB_BYTE_REG_WRITE(ZM_INTR_MASK_BYTE_6_OFFSET, \ + USB_BYTE_REG_READ(ZM_INTR_MASK_BYTE_6_OFFSET)&0xbf) + #define mUSB_STATUS_IN_INT_DISABLE() USB_BYTE_REG_WRITE(ZM_INTR_MASK_BYTE_6_OFFSET, \ + USB_BYTE_REG_READ(ZM_INTR_MASK_BYTE_6_OFFSET)|0xc0) # 0x18 ZM_INTR_MASK_BYTE_7_OFFSET -- 2.25.1