Searched refs:IDEAL_SP_FACTOR (Results 1 – 3 of 3) sorted by relevance
31 #define IDEAL_SP_FACTOR (1000U) macro418 pconfig->dataseg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_FDGetSegments()490 … configTemp.seg2 = (uint8_t)(tqNum - (tqNum * IDEAL_NOMINAL_SP) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_CalculateImprovedNominalTimingValues()737 pconfig->seg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_GetSegments()
40 #define IDEAL_SP_FACTOR (1000U) macro260 pconfig->timeSeg1 = (uint8_t)(p1 / IDEAL_SP_FACTOR - 1U); in MSCAN_GetSegments()
51 #define IDEAL_SP_FACTOR (1000U) macro1678 pTimingConfig->phaseSeg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR); in FLEXCAN_GetSegments()1921 pTimingConfig->fphaseSeg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR); in FLEXCAN_FDGetSegments()2034 … configTemp.phaseSeg2 = (uint8_t)(tqNum - (tqNum * IDEAL_NOMINAL_SP) / (uint32_t)IDEAL_SP_FACTOR); in FLEXCAN_CalculateImprovedNominalTimingValues()