Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/s32/drivers/s32ze/Uart/src/
DLinflexd_Uart_Ip.c256 uint32 Division; in Linflexd_Uart_Ip_SetBaudrate() local
283 Division = (uint32)DesiredBaudRate * (uint32)DEFAULT_OSR; in Linflexd_Uart_Ip_SetBaudrate()
284 Mantissa = (uint32)(ClockFrequency / Division); in Linflexd_Uart_Ip_SetBaudrate()
286 Surplus = ClockFrequency - (Mantissa * Division); in Linflexd_Uart_Ip_SetBaudrate()
288 … = (uint8)(((uint32)(Surplus * FractionDenominator) + (uint32)(Division / (uint32)2U)) / Division); in Linflexd_Uart_Ip_SetBaudrate()