Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_lpuart.c253 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local
274 calculatedBaud = (srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp)); in LPUART_Init()
275 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init()
276 (config->baudRate_Bps - calculatedBaud); in LPUART_Init()
569 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local
590 calculatedBaud = srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp); in LPUART_SetBaudRate()
592 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate()
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()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpuart.c253 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_Init() local
274 calculatedBaud = (srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp)); in LPUART_Init()
275 … tempDiff = calculatedBaud > config->baudRate_Bps ? (calculatedBaud - config->baudRate_Bps) : in LPUART_Init()
276 (config->baudRate_Bps - calculatedBaud); in LPUART_Init()
569 uint32_t tempDiff, calculatedBaud, baudDiff; in LPUART_SetBaudRate() local
590 calculatedBaud = srcClock_Hz / ((uint32_t)osrTemp * (uint32_t)sbrTemp); in LPUART_SetBaudRate()
592 …tempDiff = calculatedBaud > baudRate_Bps ? (calculatedBaud - baudRate_Bps) : (baudRate_Bps - calcu… in LPUART_SetBaudRate()
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()