Lines Matching refs:dataseg1
291 quantum = (1U + ((uint32_t)timingCfg.dataseg1 + 1U) + ((uint32_t)timingCfg.dataseg2 + 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()
382 config->timingConfig.dataseg1 = 0xAU; in MCAN_GetDefaultConfig()
430 pconfig->dataseg1 = MAX_DTSEG1; in MCAN_FDGetSegments()
434 pconfig->dataseg1 = (uint8_t)seg1Temp; in MCAN_FDGetSegments()
438 …pconfig->datarJumpwidth = (pconfig->dataseg1 > pconfig->dataseg2) ? pconfig->dataseg2 : pconfig->d… in MCAN_FDGetSegments()
628 pconfig->dataseg1 = 0U; in MCAN_FDCalculateImprovedTimingValues()
661 CAN_DBTP_DTSEG1(config->dataseg1) | CAN_DBTP_DTSEG2(config->dataseg2)); in MCAN_SetDataTimingConfig()
691 if (((uint32_t)timingCfg.dataseg1 + 2U) * (timingCfg.datapreDivider + 1U) < MAX_TDCOFF) in MCAN_SetBaudRateFD()
693 …base->TDCR |= CAN_TDCR_TDCO(((uint32_t)timingCfg.dataseg1 + 2U) * (timingCfg.datapreDivider + 1U)); in MCAN_SetBaudRateFD()