From: Oleksij Rempel Date: Sat, 13 Jul 2013 20:20:31 +0000 (-0700) Subject: Updated usb regs (markdown) X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=597ff4fabab3ab584d92557db3c007e5fba881b3;p=librecmc%2Fopen-ath9k-htc-firmware.wiki.git Updated usb regs (markdown) --- 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