Home
last modified time | relevance | path

Searched refs:step_n (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
385 step_n = (uint32_t)min(max(0U, (1024U - (peripheral_frequency / can_frequency))), 1023U); in XMC_CAN_Init()
386 freq_n = (uint32_t) (peripheral_frequency / (1024U - step_n)); 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
426 step_n = (uint32_t)min(max(0U, (1024U - (peripheral_frequency / can_frequency))), 1023U); in XMC_CAN_Init()
427 freq_n = (uint32_t) (peripheral_frequency / (1024U - step_n)); in XMC_CAN_Init()
439 step = (normal_divider != 0U) ? step_n : step_f; in XMC_CAN_Init()
501 uint32_t step_n; in XMC_CAN_InitEx() local
513 step_n = (uint32_t)min(max(0U, (1024U - (peripheral_frequency / can_frequency))), 1023U); in XMC_CAN_InitEx()
[all …]