@@ -14634,16 +14634,22 @@ typedef struct
1463414634#define USB_OTG_PCGCCTL_PHYSUSP_Msk (0x1U << USB_OTG_PCGCCTL_PHYSUSP_Pos) /*!< 0x00000010 */
1463514635#define USB_OTG_PCGCCTL_PHYSUSP USB_OTG_PCGCCTL_PHYSUSP_Msk /*!<Bit 1 */
1463614636
14637- /******************** Bit definition for USBPHYC_PLL register ********************/
14638- #define USB_HS_PHYC_PLL_PLLEN_Pos (0U)
14639- #define USB_HS_PHYC_PLL_PLLEN_Msk (0x1U << USB_HS_PHYC_PLL_PLLEN_Pos) /*!< 0x00000001 */
14640- #define USB_HS_PHYC_PLL_PLLEN USB_HS_PHYC_PLL_PLLEN_Msk /*!< Enable PLL */
14641- #define USB_HS_PHYC_PLL_PLLSEL_Pos (2U)
14642- #define USB_HS_PHYC_PLL_PLLSEL_Msk (0x5U << USB_HS_PHYC_PLL_PLLSEL_Pos) /*!< 0x00000014 */
14643- #define USB_HS_PHYC_PLL_PLLSEL USB_HS_PHYC_PLL_PLLSEL_Msk /*!< Controls PHY frequency operation selection */
14644- #define USB_HS_PHYC_PLL_PLLSEL_1 (0x0U << USB_HS_PHYC_PLL_PLLSEL_Pos) /*!< 0x00000002 */
14645- #define USB_HS_PHYC_PLL_PLLSEL_2 (0x1U << USB_HS_PHYC_PLL_PLLSEL_Pos) /*!< 0x00000004 */
14646- #define USB_HS_PHYC_PLL_PLLSEL_3 (0x2U << USB_HS_PHYC_PLL_PLLSEL_Pos) /*!< 0x00000008 */
14637+ /******************** Bit definition for USBPHYC_PLL1 register ********************/
14638+ #define USB_HS_PHYC_PLL1_PLLEN_Pos (0U)
14639+ #define USB_HS_PHYC_PLL1_PLLEN_Msk (0x1U << USB_HS_PHYC_PLL1_PLLEN_Pos) /*!< 0x00000001 */
14640+ #define USB_HS_PHYC_PLL1_PLLEN USB_HS_PHYC_PLL1_PLLEN_Msk /*!< Enable PLL */
14641+ #define USB_HS_PHYC_PLL1_PLLSEL_Pos (1U)
14642+ #define USB_HS_PHYC_PLL1_PLLSEL_Msk (0x7U << USB_HS_PHYC_PLL1_PLLSEL_Pos) /*!< 0x0000000E */
14643+ #define USB_HS_PHYC_PLL1_PLLSEL USB_HS_PHYC_PLL1_PLLSEL_Msk /*!< Controls PHY frequency operation selection */
14644+ #define USB_HS_PHYC_PLL1_PLLSEL_1 (0x1U << USB_HS_PHYC_PLL1_PLLSEL_Pos) /*!< 0x00000002 */
14645+ #define USB_HS_PHYC_PLL1_PLLSEL_2 (0x2U << USB_HS_PHYC_PLL1_PLLSEL_Pos) /*!< 0x00000004 */
14646+ #define USB_HS_PHYC_PLL1_PLLSEL_3 (0x4U << USB_HS_PHYC_PLL1_PLLSEL_Pos) /*!< 0x00000008 */
14647+
14648+ #define USB_HS_PHYC_PLL1_PLLSEL_12MHZ 0x00000000U /*!< PHY PLL1 input clock frequency 12 MHz */
14649+ #define USB_HS_PHYC_PLL1_PLLSEL_12_5MHZ USB_HS_PHYC_PLL1_PLLSEL_1 /*!< PHY PLL1 input clock frequency 12.5 MHz */
14650+ #define USB_HS_PHYC_PLL1_PLLSEL_16MHZ (uint32_t)(USB_HS_PHYC_PLL1_PLLSEL_1 | USB_HS_PHYC_PLL1_PLLSEL_2) /*!< PHY PLL1 input clock frequency 16 MHz */
14651+ #define USB_HS_PHYC_PLL1_PLLSEL_24MHZ USB_HS_PHYC_PLL1_PLLSEL_3 /*!< PHY PLL1 input clock frequency 24 MHz */
14652+ #define USB_HS_PHYC_PLL1_PLLSEL_25MHZ (uint32_t)(USB_HS_PHYC_PLL1_PLLSEL_2 | USB_HS_PHYC_PLL1_PLLSEL_3) /*!< PHY PLL1 input clock frequency 25 MHz */
1464714653
1464814654/******************** Bit definition for USBPHYC_LDO register ********************/
1464914655#define USB_HS_PHYC_LDO_USED_Pos (0U)
@@ -14652,9 +14658,24 @@ typedef struct
1465214658#define USB_HS_PHYC_LDO_STATUS_Pos (1U)
1465314659#define USB_HS_PHYC_LDO_STATUS_Msk (0x1U << USB_HS_PHYC_LDO_STATUS_Pos) /*!< 0x00000002 */
1465414660#define USB_HS_PHYC_LDO_STATUS USB_HS_PHYC_LDO_STATUS_Msk /*!< Monitors the status of the PHY's LDO. */
14655- #define USB_HS_PHYC_LDO_ENABLE_Pos (2U)
14656- #define USB_HS_PHYC_LDO_ENABLE_Msk (0x1U << USB_HS_PHYC_LDO_ENABLE_Pos) /*!< 0x00000004 */
14657- #define USB_HS_PHYC_LDO_ENABLE USB_HS_PHYC_LDO_ENABLE_Msk /*!< Controls disable of the High Speed PHY's LDO */
14661+ #define USB_HS_PHYC_LDO_DISABLE_Pos (2U)
14662+ #define USB_HS_PHYC_LDO_DISABLE_Msk (0x1U << USB_HS_PHYC_LDO_DISABLE_Pos) /*!< 0x00000004 */
14663+ #define USB_HS_PHYC_LDO_DISABLE USB_HS_PHYC_LDO_DISABLE_Msk /*!< Controls disable of the High Speed PHY's LDO */
14664+
14665+ /* Legacy */
14666+ #define USB_HS_PHYC_PLL_PLLEN_Pos USB_HS_PHYC_PLL1_PLLEN_Pos
14667+ #define USB_HS_PHYC_PLL_PLLEN_Msk USB_HS_PHYC_PLL1_PLLEN_Msk
14668+ #define USB_HS_PHYC_PLL_PLLEN USB_HS_PHYC_PLL1_PLLEN
14669+ #define USB_HS_PHYC_PLL_PLLSEL_Pos USB_HS_PHYC_PLL1_PLLSEL_Pos
14670+ #define USB_HS_PHYC_PLL_PLLSEL_Msk USB_HS_PHYC_PLL1_PLLSEL_Msk
14671+ #define USB_HS_PHYC_PLL_PLLSEL USB_HS_PHYC_PLL1_PLLSEL
14672+ #define USB_HS_PHYC_PLL_PLLSEL_1 USB_HS_PHYC_PLL1_PLLSEL_1
14673+ #define USB_HS_PHYC_PLL_PLLSEL_2 USB_HS_PHYC_PLL1_PLLSEL_2
14674+ #define USB_HS_PHYC_PLL_PLLSEL_3 USB_HS_PHYC_PLL1_PLLSEL_3
14675+
14676+ #define USB_HS_PHYC_LDO_ENABLE_Pos USB_HS_PHYC_LDO_DISABLE_Pos
14677+ #define USB_HS_PHYC_LDO_ENABLE_Msk USB_HS_PHYC_LDO_DISABLE_Msk
14678+ #define USB_HS_PHYC_LDO_ENABLE USB_HS_PHYC_LDO_DISABLE
1465814679
1465914680
1466014681
0 commit comments