summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsakimisu <[email protected]>2023-05-19 15:32:07 +0800
committersakimisu <[email protected]>2023-05-19 15:32:07 +0800
commitdcbad9eebe49b074f7eae0574665aa90f62d5297 (patch)
tree9336de88bd6b143427b14c9b912bd5c89e1b02a4
parent386172875105c901478e61cda78a2b09ff93d283 (diff)
comment musb reg struct
-rw-r--r--port/musb/usb_musb_reg.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/port/musb/usb_musb_reg.h b/port/musb/usb_musb_reg.h
index 82225de8..3c799865 100644
--- a/port/musb/usb_musb_reg.h
+++ b/port/musb/usb_musb_reg.h
@@ -9,7 +9,7 @@
* @brief Register map for USB0 peripheral (USB0)
*/
#ifdef CONFIG_USB_MUSB_SUNXI
-
+#if 0
typedef __PACKED_STRUCT { /*!< USB0 Structure */
union {
__IO uint8_t FIFO0_BYTE; /*!< USB FIFO Endpoint 0 */
@@ -146,9 +146,9 @@ typedef __PACKED_STRUCT { /*!< USB0 Structure
__IO uint8_t RXHUBADDR0;
__IO uint8_t RXHUBPORT0;
} USB0_Type;
-
+#endif
#else
-
+#if 0
typedef struct { /*!< USB0 Structure */
__IO uint8_t FADDR; /*!< USB Device Functional Address */
__IO uint8_t POWER; /*!< USB Power */
@@ -465,7 +465,7 @@ typedef struct { /*!< USB0 Structure
__IO uint32_t PC; /*!< USB Peripheral Configuration */
__IO uint32_t CC; /*!< USB Clock Configuration */
} USB0_Type;
-
+#endif
#endif // CONFIG_USB_MUSB_SUNXI
//*****************************************************************************