Updated usb regs (markdown)
authorOleksij Rempel <linux@rempel-privat.de>
Fri, 12 Jul 2013 19:49:01 +0000 (12:49 -0700)
committerOleksij Rempel <linux@rempel-privat.de>
Fri, 12 Jul 2013 19:49:01 +0000 (12:49 -0700)
usb-regs.md

index a255f4997c6d12605c20ce2adf03e5b43d15145b..c58cc4ca4dcc4e1d0fb513af50b6b7a676969036 100644 (file)
 # 0x13 ZM_INTR_MASK_BYTE_2_OFFSET
 # 0x14 ZM_INTR_MASK_BYTE_3_OFFSET
 # 0x15 ZM_INTR_MASK_BYTE_4_OFFSET
+    
+    #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
+
+
+
 # 0x18 ZM_INTR_MASK_BYTE_7_OFFSET
 
 # 0x20 ZM_INTR_GROUP_OFFSET