Searched refs:step_f (Results 1 – 1 of 1) sorted by relevance
366 uint32_t step_n, step_f; in XMC_CAN_Init() local392 step_f = (uint32_t)(min( (((1024U * can_frequency_khz) / peripheral_frequency_khz) ), 1023U )); in XMC_CAN_Init()393 freq_f = (uint32_t)((peripheral_frequency_khz * step_f) / 1024U); in XMC_CAN_Init()398 step = (normal_divider != 0U) ? step_n : step_f; in XMC_CAN_Init()410 uint32_t step_n, step_f; in XMC_CAN_Init() local433 step_f = (uint32_t)(min( (((1024U * can_frequency_khz) / peripheral_frequency_khz) ), 1023U )); in XMC_CAN_Init()434 freq_f = (uint32_t)((peripheral_frequency_khz * step_f) / 1024U); in XMC_CAN_Init()439 step = (normal_divider != 0U) ? step_n : step_f; in XMC_CAN_Init()