|
@@ -460,3 +460,94 @@
|
|
#define TKW 0xff /* Selects DIOW negated pulsewidth */
|
|
#define TKW 0xff /* Selects DIOW negated pulsewidth */
|
|
#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
|
|
#define TKR 0xff00 /* Selects DIOR negated pulsewidth */
|
|
|
|
|
|
|
|
+/* Bit masks for ATAPI_MULTI_TIM_2 */
|
|
|
|
+
|
|
|
|
+#define TH 0xff /* Selects DIOW data hold */
|
|
|
|
+#define TEOC 0xff00 /* Selects end of cycle for DMA */
|
|
|
|
+
|
|
|
|
+/* Bit masks for ATAPI_ULTRA_TIM_0 */
|
|
|
|
+
|
|
|
|
+#define TACK 0xff /* Selects setup and hold times for TACK */
|
|
|
|
+#define TENV 0xff00 /* Selects envelope time */
|
|
|
|
+
|
|
|
|
+/* Bit masks for ATAPI_ULTRA_TIM_1 */
|
|
|
|
+
|
|
|
|
+#define TDVS 0xff /* Selects data valid setup time */
|
|
|
|
+#define TCYC_TDVS 0xff00 /* Selects cycle time - TDVS time */
|
|
|
|
+
|
|
|
|
+/* Bit masks for ATAPI_ULTRA_TIM_2 */
|
|
|
|
+
|
|
|
|
+#define TSS 0xff /* Selects time from STROBE edge to negation of DMARQ or assertion of STOP */
|
|
|
|
+#define TMLI 0xff00 /* Selects interlock time */
|
|
|
|
+
|
|
|
|
+/* Bit masks for ATAPI_ULTRA_TIM_3 */
|
|
|
|
+
|
|
|
|
+#define TZAH 0xff /* Selects minimum delay required for output */
|
|
|
|
+#define READY_PAUSE 0xff00 /* Selects ready to pause */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_FADDR */
|
|
|
|
+
|
|
|
|
+#define FUNCTION_ADDRESS 0x7f /* Function address */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_POWER */
|
|
|
|
+
|
|
|
|
+#define ENABLE_SUSPENDM 0x1 /* enable SuspendM output */
|
|
|
|
+#define SUSPEND_MODE 0x2 /* Suspend Mode indicator */
|
|
|
|
+#define RESUME_MODE 0x4 /* DMA Mode */
|
|
|
|
+#define RESET 0x8 /* Reset indicator */
|
|
|
|
+#define HS_MODE 0x10 /* High Speed mode indicator */
|
|
|
|
+#define HS_ENABLE 0x20 /* high Speed Enable */
|
|
|
|
+#define SOFT_CONN 0x40 /* Soft connect */
|
|
|
|
+#define ISO_UPDATE 0x80 /* Isochronous update */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_INTRTX */
|
|
|
|
+
|
|
|
|
+#define EP0_TX 0x1 /* Tx Endpoint 0 interrupt */
|
|
|
|
+#define EP1_TX 0x2 /* Tx Endpoint 1 interrupt */
|
|
|
|
+#define EP2_TX 0x4 /* Tx Endpoint 2 interrupt */
|
|
|
|
+#define EP3_TX 0x8 /* Tx Endpoint 3 interrupt */
|
|
|
|
+#define EP4_TX 0x10 /* Tx Endpoint 4 interrupt */
|
|
|
|
+#define EP5_TX 0x20 /* Tx Endpoint 5 interrupt */
|
|
|
|
+#define EP6_TX 0x40 /* Tx Endpoint 6 interrupt */
|
|
|
|
+#define EP7_TX 0x80 /* Tx Endpoint 7 interrupt */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_INTRRX */
|
|
|
|
+
|
|
|
|
+#define EP1_RX 0x2 /* Rx Endpoint 1 interrupt */
|
|
|
|
+#define EP2_RX 0x4 /* Rx Endpoint 2 interrupt */
|
|
|
|
+#define EP3_RX 0x8 /* Rx Endpoint 3 interrupt */
|
|
|
|
+#define EP4_RX 0x10 /* Rx Endpoint 4 interrupt */
|
|
|
|
+#define EP5_RX 0x20 /* Rx Endpoint 5 interrupt */
|
|
|
|
+#define EP6_RX 0x40 /* Rx Endpoint 6 interrupt */
|
|
|
|
+#define EP7_RX 0x80 /* Rx Endpoint 7 interrupt */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_INTRTXE */
|
|
|
|
+
|
|
|
|
+#define EP0_TX_E 0x1 /* Endpoint 0 interrupt Enable */
|
|
|
|
+#define EP1_TX_E 0x2 /* Tx Endpoint 1 interrupt Enable */
|
|
|
|
+#define EP2_TX_E 0x4 /* Tx Endpoint 2 interrupt Enable */
|
|
|
|
+#define EP3_TX_E 0x8 /* Tx Endpoint 3 interrupt Enable */
|
|
|
|
+#define EP4_TX_E 0x10 /* Tx Endpoint 4 interrupt Enable */
|
|
|
|
+#define EP5_TX_E 0x20 /* Tx Endpoint 5 interrupt Enable */
|
|
|
|
+#define EP6_TX_E 0x40 /* Tx Endpoint 6 interrupt Enable */
|
|
|
|
+#define EP7_TX_E 0x80 /* Tx Endpoint 7 interrupt Enable */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_INTRRXE */
|
|
|
|
+
|
|
|
|
+#define EP1_RX_E 0x2 /* Rx Endpoint 1 interrupt Enable */
|
|
|
|
+#define EP2_RX_E 0x4 /* Rx Endpoint 2 interrupt Enable */
|
|
|
|
+#define EP3_RX_E 0x8 /* Rx Endpoint 3 interrupt Enable */
|
|
|
|
+#define EP4_RX_E 0x10 /* Rx Endpoint 4 interrupt Enable */
|
|
|
|
+#define EP5_RX_E 0x20 /* Rx Endpoint 5 interrupt Enable */
|
|
|
|
+#define EP6_RX_E 0x40 /* Rx Endpoint 6 interrupt Enable */
|
|
|
|
+#define EP7_RX_E 0x80 /* Rx Endpoint 7 interrupt Enable */
|
|
|
|
+
|
|
|
|
+/* Bit masks for USB_INTRUSB */
|
|
|
|
+
|
|
|
|
+#define SUSPEND_B 0x1 /* Suspend indicator */
|
|
|
|
+#define RESUME_B 0x2 /* Resume indicator */
|
|
|
|
+#define RESET_OR_BABLE_B 0x4 /* Reset/babble indicator */
|
|
|
|
+#define SOF_B 0x8 /* Start of frame */
|
|
|
|
+#define CONN_B 0x10 /* Connection indicator */
|
|
|
|
+#define DISCON_B 0x20 /* Disconnect indicator */
|
|
|
|
+#define SESSION_REQ_B 0x40 /* Session Request */
|