Searched refs:step_n (Results 1 – 1 of 1) sorted by relevance
366 uint32_t step_n, step_f; in XMC_CAN_Init() local385 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() local426 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() local513 step_n = (uint32_t)min(max(0U, (1024U - (peripheral_frequency / can_frequency))), 1023U); in XMC_CAN_InitEx()[all …]