Searched refs:dataseg2 (Results 1 – 2 of 2) sorted by relevance
291 quantum = (1U + ((uint32_t)timingCfg.dataseg1 + 1U) + ((uint32_t)timingCfg.dataseg2 + 1U)); in MCAN_Init()383 config->timingConfig.dataseg2 = 0x3U; in MCAN_GetDefaultConfig()418 pconfig->dataseg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_FDGetSegments()420 if (pconfig->dataseg2 > MAX_DTSEG2) in MCAN_FDGetSegments()422 pconfig->dataseg2 = MAX_DTSEG2; in MCAN_FDGetSegments()425 seg1Temp = tqNum - pconfig->dataseg2 - 3U; in MCAN_FDGetSegments()429 pconfig->dataseg2 = (uint8_t)(tqNum - MAX_DTSEG1 - 3U); in MCAN_FDGetSegments()438 …pconfig->datarJumpwidth = (pconfig->dataseg1 > pconfig->dataseg2) ? pconfig->dataseg2 : pconfig->d… in MCAN_FDGetSegments()629 pconfig->dataseg2 = 0U; in MCAN_FDCalculateImprovedTimingValues()661 CAN_DBTP_DTSEG1(config->dataseg1) | CAN_DBTP_DTSEG2(config->dataseg2)); in MCAN_SetDataTimingConfig()
339 uint8_t dataseg2; /*!< Data Time Segment 2. */ member