Searched refs:timerDiv (Results 1 – 3 of 3) sorted by relevance
131 uint16_t timerDiv = 0; in FLEXIO_UART_Init() local188 timerDiv = (uint16_t)(srcClock_Hz / userConfig->baudRate_Bps); in FLEXIO_UART_Init()189 timerDiv = timerDiv / 2U - 1U; in FLEXIO_UART_Init()191 if (timerDiv > 0xFFU) in FLEXIO_UART_Init()200 calculatedBaud = srcClock_Hz / (((uint32_t)timerDiv + 1U) * 2U); in FLEXIO_UART_Init()211 timerCmp |= timerDiv; in FLEXIO_UART_Init()
231 uint16_t timerDiv = 0; in FLEXIO_SPI_MasterInit() local314 timerDiv = (uint16_t)(srcClock_Hz / masterConfig->baudRate_Bps); in FLEXIO_SPI_MasterInit()315 timerDiv = timerDiv / 2U - 1U; in FLEXIO_SPI_MasterInit()318 timerCmp |= timerDiv; in FLEXIO_SPI_MasterInit()683 uint16_t timerDiv = 0; in FLEXIO_SPI_MasterSetBaudRate() local688 timerDiv = (uint16_t)(srcClockHz / baudRate_Bps); in FLEXIO_SPI_MasterSetBaudRate()689 timerDiv = timerDiv / 2U - 1U; in FLEXIO_SPI_MasterSetBaudRate()693 timerCmp |= timerDiv; in FLEXIO_SPI_MasterSetBaudRate()
637 uint16_t timerDiv = 0; in FLEXIO_I2C_MasterInit() local693 timerDiv = (uint16_t)(srcClock_Hz / masterConfig->baudRate_Bps) / 2U - 1U; in FLEXIO_I2C_MasterInit()695 base->baudrate = srcClock_Hz / (2U * ((uint32_t)timerDiv + 1U)); in FLEXIO_I2C_MasterInit()697 timerConfig.timerCompare = timerDiv; in FLEXIO_I2C_MasterInit()914 uint16_t timerDiv = 0; in FLEXIO_I2C_MasterSetBaudRate() local918 timerDiv = (uint16_t)((srcClock_Hz / baudRate_Bps) / 2U - 1U); in FLEXIO_I2C_MasterSetBaudRate()920 flexioBase->TIMCMP[base->timerIndex[1]] = timerDiv; in FLEXIO_I2C_MasterSetBaudRate()923 base->baudrate = srcClock_Hz / (2U * ((uint32_t)timerDiv + 1U)); in FLEXIO_I2C_MasterSetBaudRate()