Skip to content

Commit 95be7da

Browse files
committed
Add CLKSEL0_USBSEL_HIRC48 in m2351_clk.h
1 parent 115520a commit 95be7da

File tree

1 file changed

+1
-0
lines changed
  • targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver

1 file changed

+1
-0
lines changed

targets/TARGET_NUVOTON/TARGET_M2351/device/StdDriver/m2351_clk.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ extern "C"
6464
#define CLK_CLKSEL0_SDH0SEL_HCLK (0x02UL<<CLK_CLKSEL0_SDH0SEL_Pos) /*!< Setting SDH0 clock source as HCLK */
6565
#define CLK_CLKSEL0_SDH0SEL_HIRC (0x03UL<<CLK_CLKSEL0_SDH0SEL_Pos) /*!< Setting SDH0 clock source as HIRC */
6666

67+
#define CLK_CLKSEL0_USBSEL_HIRC48 (0x00UL<<CLK_CLKSEL0_USBSEL_Pos) /*!< Setting USB clock source as HIRC48 */
6768
#define CLK_CLKSEL0_USBSEL_PLL (0x01UL<<CLK_CLKSEL0_USBSEL_Pos) /*!< Setting USB clock source as PLL */
6869

6970

0 commit comments

Comments
 (0)