Home
last modified time | relevance | path

Searched refs:CLK_GetModuleClockSource (Results 1 – 15 of 15) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dspi.c106 … if((CLK_GetModuleClockSource(SPI0_MODULE) << CLK_CLKSEL2_SPI0SEL_Pos) == CLK_CLKSEL2_SPI0SEL_HXT) in SPI_Open()
110 …else if((CLK_GetModuleClockSource(SPI0_MODULE) << CLK_CLKSEL2_SPI0SEL_Pos) == CLK_CLKSEL2_SPI0SEL_… in SPI_Open()
114 …else if((CLK_GetModuleClockSource(SPI0_MODULE) << CLK_CLKSEL2_SPI0SEL_Pos) == CLK_CLKSEL2_SPI0SEL_… in SPI_Open()
125 … if((CLK_GetModuleClockSource(SPI1_MODULE) << CLK_CLKSEL2_SPI1SEL_Pos) == CLK_CLKSEL2_SPI1SEL_HXT) in SPI_Open()
129 …else if((CLK_GetModuleClockSource(SPI1_MODULE) << CLK_CLKSEL2_SPI1SEL_Pos) == CLK_CLKSEL2_SPI1SEL_… in SPI_Open()
133 …else if((CLK_GetModuleClockSource(SPI1_MODULE) << CLK_CLKSEL2_SPI1SEL_Pos) == CLK_CLKSEL2_SPI1SEL_… in SPI_Open()
144 … if((CLK_GetModuleClockSource(SPI2_MODULE) << CLK_CLKSEL2_SPI2SEL_Pos) == CLK_CLKSEL2_SPI2SEL_HXT) in SPI_Open()
148 …else if((CLK_GetModuleClockSource(SPI2_MODULE) << CLK_CLKSEL2_SPI2SEL_Pos) == CLK_CLKSEL2_SPI2SEL_… in SPI_Open()
152 …else if((CLK_GetModuleClockSource(SPI2_MODULE) << CLK_CLKSEL2_SPI2SEL_Pos) == CLK_CLKSEL2_SPI2SEL_… in SPI_Open()
163 … if((CLK_GetModuleClockSource(SPI3_MODULE) << CLK_CLKSEL2_SPI3SEL_Pos) == CLK_CLKSEL2_SPI3SEL_HXT) in SPI_Open()
[all …]
Dscuart.c56 u32ClkSrc = CLK_GetModuleClockSource(SC0_MODULE); in SCUART_GetClock()
62 u32ClkSrc = CLK_GetModuleClockSource(SC1_MODULE); in SCUART_GetClock()
68 u32ClkSrc = CLK_GetModuleClockSource(SC2_MODULE); in SCUART_GetClock()
Dsc.c368 u32ClkSrc = CLK_GetModuleClockSource(SC0_MODULE); in SC_GetInterfaceClock()
374 u32ClkSrc = CLK_GetModuleClockSource(SC1_MODULE); in SC_GetInterfaceClock()
380 u32ClkSrc = CLK_GetModuleClockSource(SC2_MODULE); in SC_GetInterfaceClock()
Di2s.c38 u32ClkSrcSel = CLK_GetModuleClockSource(I2S0_MODULE) << CLK_CLKSEL3_I2S0SEL_Pos; in I2S_GetSourceClockFreq()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Duart.c220 u32UartClkSrcSel = CLK_GetModuleClockSource(UART0_MODULE); in UART_Open()
227 u32UartClkSrcSel = CLK_GetModuleClockSource(UART1_MODULE); in UART_Open()
234 u32UartClkSrcSel = CLK_GetModuleClockSource(UART2_MODULE); in UART_Open()
241 u32UartClkSrcSel = CLK_GetModuleClockSource(UART3_MODULE); in UART_Open()
248 u32UartClkSrcSel = CLK_GetModuleClockSource(UART4_MODULE); in UART_Open()
255 u32UartClkSrcSel = CLK_GetModuleClockSource(UART5_MODULE); in UART_Open()
380 u32UartClkSrcSel = CLK_GetModuleClockSource(UART0_MODULE); in UART_SetLineConfig()
387 u32UartClkSrcSel = CLK_GetModuleClockSource(UART1_MODULE); in UART_SetLineConfig()
394 u32UartClkSrcSel = CLK_GetModuleClockSource(UART2_MODULE); in UART_SetLineConfig()
401 u32UartClkSrcSel = CLK_GetModuleClockSource(UART3_MODULE); in UART_SetLineConfig()
[all …]
Dqspi.c87 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_Open()
91 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
95 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
170 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_Open()
174 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
178 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
290 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_SetBusClock()
294 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_SetBusClock()
298 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_SetBusClock()
385 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_GetBusClock()
[all …]
Dtimer.c247 u32Src = CLK_GetModuleClockSource(TMR0_MODULE); in TIMER_GetModuleClock()
251 u32Src = CLK_GetModuleClockSource(TMR1_MODULE); in TIMER_GetModuleClock()
255 u32Src = CLK_GetModuleClockSource(TMR2_MODULE); in TIMER_GetModuleClock()
259 u32Src = CLK_GetModuleClockSource(TMR3_MODULE); in TIMER_GetModuleClock()
263 u32Src = CLK_GetModuleClockSource(TMR4_MODULE); in TIMER_GetModuleClock()
267 u32Src = CLK_GetModuleClockSource(TMR5_MODULE); in TIMER_GetModuleClock()
Dtimer_pwm.c63 u32Src = CLK_GetModuleClockSource(TMR0_MODULE); in TPWM_GetModuleClockFreq()
67 u32Src = CLK_GetModuleClockSource(TMR1_MODULE); in TPWM_GetModuleClockFreq()
71 u32Src = CLK_GetModuleClockSource(TMR2_MODULE); in TPWM_GetModuleClockFreq()
75 u32Src = CLK_GetModuleClockSource(TMR3_MODULE); in TPWM_GetModuleClockFreq()
79 u32Src = CLK_GetModuleClockSource(TMR4_MODULE); in TPWM_GetModuleClockFreq()
83 u32Src = CLK_GetModuleClockSource(TMR5_MODULE); in TPWM_GetModuleClockFreq()
Dclk.c1312 uint32_t CLK_GetModuleClockSource(uint32_t u32ModuleIdx) in CLK_GetModuleClockSource() function
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Duart.c276 u32UartClkSrcSel = CLK_GetModuleClockSource(UART0_MODULE); in UART_Open()
281 u32UartClkSrcSel = CLK_GetModuleClockSource(UART1_MODULE); in UART_Open()
286 u32UartClkSrcSel = CLK_GetModuleClockSource(UART2_MODULE); in UART_Open()
291 u32UartClkSrcSel = CLK_GetModuleClockSource(UART3_MODULE); in UART_Open()
296 u32UartClkSrcSel = CLK_GetModuleClockSource(UART4_MODULE); in UART_Open()
301 u32UartClkSrcSel = CLK_GetModuleClockSource(UART5_MODULE); in UART_Open()
424 u32UartClkSrcSel = CLK_GetModuleClockSource(UART0_MODULE); in UART_SetLineConfig()
429 u32UartClkSrcSel = CLK_GetModuleClockSource(UART1_MODULE); in UART_SetLineConfig()
434 u32UartClkSrcSel = CLK_GetModuleClockSource(UART2_MODULE); in UART_SetLineConfig()
439 u32UartClkSrcSel = CLK_GetModuleClockSource(UART3_MODULE); in UART_SetLineConfig()
[all …]
Dqspi.c87 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_Open()
91 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
95 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
170 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_Open()
174 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
178 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_Open()
290 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_SetBusClock()
294 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_SetBusClock()
298 …else if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0S… in QSPI_SetBusClock()
385 …if((CLK_GetModuleClockSource(QSPI0_MODULE) << CLK_CLKSEL2_QSPI0SEL_Pos) == CLK_CLKSEL2_QSPI0SEL_HX… in QSPI_GetBusClock()
[all …]
Dtimer.c250 u32Src = CLK_GetModuleClockSource(TMR0_MODULE); in TIMER_GetModuleClock()
254 u32Src = CLK_GetModuleClockSource(TMR1_MODULE); in TIMER_GetModuleClock()
258 u32Src = CLK_GetModuleClockSource(TMR2_MODULE); in TIMER_GetModuleClock()
262 u32Src = CLK_GetModuleClockSource(TMR3_MODULE); in TIMER_GetModuleClock()
Dclk.c1157 uint32_t CLK_GetModuleClockSource(uint32_t u32ModuleIdx) in CLK_GetModuleClockSource() function
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Dclk.h837 uint32_t CLK_GetModuleClockSource(uint32_t u32ModuleIdx);
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dclk.h1053 uint32_t CLK_GetModuleClockSource(uint32_t u32ModuleIdx);