Home
last modified time | relevance | path

Searched refs:u32baudrate (Results 1 – 7 of 7) sorted by relevance

/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/src/
Dusci_uart.c327 uint32_t UUART_Open(UUART_T* uuart, uint32_t u32baudrate) in UUART_Open() argument
344 u32Div = u32PCLKFreq / u32baudrate; in UUART_Open()
345 u32Tmp = (u32PCLKFreq / u32Div) - u32baudrate; in UUART_Open()
346 u32Tmp2 = u32baudrate - (u32PCLKFreq / (u32Div + 1ul)); in UUART_Open()
500 uint32_t UUART_SetLine_Config(UUART_T* uuart, uint32_t u32baudrate, uint32_t u32data_width, uint32_… in UUART_SetLine_Config() argument
516 if(u32baudrate != 0ul) in UUART_SetLine_Config()
520 u32Div = u32PCLKFreq / u32baudrate; in UUART_SetLine_Config()
521 u32Tmp = (u32PCLKFreq / u32Div) - u32baudrate; in UUART_SetLine_Config()
522 u32Tmp2 = u32baudrate - (u32PCLKFreq / (u32Div + 1ul)); in UUART_SetLine_Config()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/src/
Duart.c209 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open() argument
280 if(u32baudrate != 0ul) in UART_Open()
282 … = UART_BAUD_MODE2_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate); in UART_Open()
286 …| UART_BAUD_MODE0_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate)); in UART_Open()
369 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig() argument
431 if(u32baudrate != 0ul) in UART_SetLineConfig()
433 … = UART_BAUD_MODE2_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate); in UART_SetLineConfig()
437 …| UART_BAUD_MODE0_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate)); in UART_SetLineConfig()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/src/
Duart.c265 void UART_Open(UART_T* uart, uint32_t u32baudrate) in UART_Open() argument
324 if(u32baudrate != 0ul) in UART_Open()
326 … = UART_BAUD_MODE2_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate); in UART_Open()
330 …| UART_BAUD_MODE0_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate)); in UART_Open()
413 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par… in UART_SetLineConfig() argument
463 if(u32baudrate != 0ul) in UART_SetLineConfig()
465 … = UART_BAUD_MODE2_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate); in UART_SetLineConfig()
469 …| UART_BAUD_MODE0_DIVIDER((au32ClkTbl[u32UartClkSrcSel]) / (u32UartClkDivNum + 1ul), u32baudrate)); in UART_SetLineConfig()
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/common/bsp/StdDriver/inc/
Dusci_uart.h425 uint32_t UUART_Open(UUART_T* uuart, uint32_t u32baudrate);
427 uint32_t UUART_SetLine_Config(UUART_T* uuart, uint32_t u32baudrate, uint32_t u32data_width, uint32_…
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2354/bsp/Library/StdDriver/inc/
Dusci_uart.h425 uint32_t UUART_Open(UUART_T* uuart, uint32_t u32baudrate);
427 uint32_t UUART_SetLine_Config(UUART_T* uuart, uint32_t u32baudrate, uint32_t u32data_width, uint32_…
Duart.h494 void UART_Open(UART_T* uart, uint32_t u32baudrate);
496 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par…
/trusted-firmware-m-3.4.0/platform/ext/target/nuvoton/m2351/bsp/Library/StdDriver/inc/
Duart.h478 void UART_Open(UART_T* uart, uint32_t u32baudrate);
480 void UART_SetLineConfig(UART_T* uart, uint32_t u32baudrate, uint32_t u32data_width, uint32_t u32par…