Home
last modified time | relevance | path

Searched refs:u32UartClkSrcSel (Results 1 – 2 of 2) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Duart.c211 uint32_t u32UartClkSrcSel, u32UartClkDivNum; in UART_Open() local
220 u32UartClkSrcSel = CLK_GetModuleClockSource(UART0_MODULE); in UART_Open()
222 if(u32UartClkSrcSel == 4ul) in UART_Open()
227 u32UartClkSrcSel = CLK_GetModuleClockSource(UART1_MODULE); in UART_Open()
229 if(u32UartClkSrcSel == 4ul) in UART_Open()
234 u32UartClkSrcSel = CLK_GetModuleClockSource(UART2_MODULE); in UART_Open()
236 if(u32UartClkSrcSel == 4ul) in UART_Open()
241 u32UartClkSrcSel = CLK_GetModuleClockSource(UART3_MODULE); in UART_Open()
243 if(u32UartClkSrcSel == 4ul) in UART_Open()
248 u32UartClkSrcSel = CLK_GetModuleClockSource(UART4_MODULE); in UART_Open()
[all …]
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Duart.c267 uint32_t u32UartClkSrcSel, u32UartClkDivNum; in UART_Open() local
276 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()
318 if(u32UartClkSrcSel == 1ul) in UART_Open()
320 au32ClkTbl[u32UartClkSrcSel] = CLK_GetPLLClockFreq(); in UART_Open()
326 …u32BaudDiv = UART_BAUD_MODE2_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u3… in UART_Open()
[all …]