Searched refs:datapreDivider (Results 1 – 2 of 2) sorted by relevance
298 timingCfg.datapreDivider = 0x1FU; in MCAN_Init()302 timingCfg.datapreDivider = (uint16_t)(sourceClock_Hz / tqFre) - 1U; in MCAN_Init()314 if (((uint32_t)timingCfg.dataseg1 + 2U) * (timingCfg.datapreDivider + 1U) < MAX_TDCOFF) in MCAN_Init()316 …base->TDCR |= CAN_TDCR_TDCO(((uint32_t)timingCfg.dataseg1 + 2U) * (timingCfg.datapreDivider + 1U)); in MCAN_Init()559 pconfig->datapreDivider = 0U; in MCAN_FDCalculateImprovedTimingValues()573 pconfig->datapreDivider = (uint16_t)(sourceClock_Hz / clk - 1U); in MCAN_FDCalculateImprovedTimingValues()575 if (pconfig->datapreDivider > MAX_DBRP) in MCAN_FDCalculateImprovedTimingValues()581 if (pconfig->datapreDivider < ((pconfig->preDivider + 1U) * preDividerTemp - 1U)) in MCAN_FDCalculateImprovedTimingValues()585 … else if (pconfig->datapreDivider == ((pconfig->preDivider + 1U) * preDividerTemp - 1U)) in MCAN_FDCalculateImprovedTimingValues()607 if ((pconfig->datapreDivider <= MAX_DBRP) && (pconfig->datapreDivider != 0U)) in MCAN_FDCalculateImprovedTimingValues()[all …]
336 uint16_t datapreDivider; /*!< Data Clock Pre-scaler Division Factor. */ member