Home
last modified time | relevance | path

Searched refs:calculatedBaud (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpsci/
Dfsl_lpsci.c223 uint32_t tempDiff, calculatedBaud, baudDiff; in LPSCI_Init() local
242 calculatedBaud = (srcClock_Hz / (osrTemp * sbrTemp)); in LPSCI_Init()
244 tempDiff = calculatedBaud - config->baudRate_Bps; in LPSCI_Init()
357 uint32_t tempDiff, calculatedBaud, baudDiff; in LPSCI_SetBaudRate() local
375 calculatedBaud = (srcClock_Hz / (osrTemp * sbrTemp)); in LPSCI_SetBaudRate()
377 tempDiff = calculatedBaud - baudRate_Bps; in LPSCI_SetBaudRate()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpuart/
Dfsl_lpuart.c313 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local
342 calculatedBaud = (srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp)); in LPUART_Init()
343 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init()
344 (config->baudRate_Bps - calculatedBaud); in LPUART_Init()
641 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local
670 calculatedBaud = srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp); in LPUART_SetBaudRate()
672 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexio/uart/
Dfsl_flexio_uart.c133 uint32_t calculatedBaud; in FLEXIO_UART_Init() local
200 calculatedBaud = srcClock_Hz / (((uint32_t)timerDiv + 1U) * 2U); in FLEXIO_UART_Init()
203 diff = calculatedBaud - userConfig->baudRate_Bps; in FLEXIO_UART_Init()