Home
last modified time | relevance | path

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

/hal_nuvoton-3.4.0/m48x/StdDriver/src/
Dcan.c755 uint64_t clock_freq = (uint64_t)0, u64PCLK_DIV = (uint64_t)1; in CAN_SetBaudRate() local
772 clock_freq = SystemCoreClock / u64PCLK_DIV; in CAN_SetBaudRate()
798 brp = clock_freq / (tsegall * u32BaudRate) + tseg % 2; in CAN_SetBaudRate()
806 rate = clock_freq / (brp * tsegall); in CAN_SetBaudRate()
858 u32BaudRate = clock_freq / (best_brp * (tseg1 + tseg2 + 1)); in CAN_SetBaudRate()