Home
last modified time | relevance | path

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

/hal_infineon-3.5.0/XMCLib/drivers/src/
Dxmc_can.c366 uint32_t step_n, step_f; in XMC_CAN_Init() local
392 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() local
433 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()