Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/mcan/
Dfsl_mcan.c398 uint32_t ideal_sp, seg1Temp; in MCAN_FDGetSegments() local
425 seg1Temp = tqNum - pconfig->dataseg2 - 3U; in MCAN_FDGetSegments()
427 if (seg1Temp > MAX_DTSEG1) in MCAN_FDGetSegments()
434 pconfig->dataseg1 = (uint8_t)seg1Temp; in MCAN_FDGetSegments()
463 uint32_t seg1Temp; in MCAN_CalculateImprovedNominalTimingValues() local
497 seg1Temp = tqNum - configTemp.seg2 - 3U; in MCAN_CalculateImprovedNominalTimingValues()
499 if (seg1Temp > MAX_NTSEG1) in MCAN_CalculateImprovedNominalTimingValues()
506 configTemp.seg1 = (uint8_t)seg1Temp; in MCAN_CalculateImprovedNominalTimingValues()
720 uint32_t ideal_sp, seg1Temp; in MCAN_GetSegments() local
744 seg1Temp = tqNum - pconfig->seg2 - 3U; in MCAN_GetSegments()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexcan/
Dfsl_flexcan.c1619 uint32_t seg1Temp; in FLEXCAN_GetSegments() local
1680 seg1Temp = seg1Max + proSegMax; in FLEXCAN_GetSegments()
1681 pTimingConfig->phaseSeg2 = (uint8_t)(tqNum - 1U - seg1Temp); in FLEXCAN_GetSegments()
1685 seg1Temp = tqNum - pTimingConfig->phaseSeg2 - 1U; in FLEXCAN_GetSegments()
1687 if (seg1Temp > (pTimingConfig->phaseSeg2 + proSegMax)) in FLEXCAN_GetSegments()
1690 pTimingConfig->phaseSeg1 = (uint8_t)(seg1Temp - proSegMax); in FLEXCAN_GetSegments()
1694 pTimingConfig->propSeg = (uint8_t)(seg1Temp - pTimingConfig->phaseSeg2); in FLEXCAN_GetSegments()
1870 uint32_t seg1Temp; in FLEXCAN_FDGetSegments() local
1919 seg1Temp = seg1Max + proSegMax; in FLEXCAN_FDGetSegments()
1920 pTimingConfig->fphaseSeg2 = (uint8_t)(tqNum - 1U - seg1Temp); in FLEXCAN_FDGetSegments()
[all …]