Home
last modified time | relevance | path

Searched refs:IDEAL_SP_FACTOR (Results 1 – 3 of 3) sorted by relevance

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/mcan/
Dfsl_mcan.c31 #define IDEAL_SP_FACTOR (1000U) macro
418 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()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/mscan/
Dfsl_mscan.c40 #define IDEAL_SP_FACTOR (1000U) macro
260 pconfig->timeSeg1 = (uint8_t)(p1 / IDEAL_SP_FACTOR - 1U); in MSCAN_GetSegments()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcan/
Dfsl_flexcan.c51 #define IDEAL_SP_FACTOR (1000U) macro
1678 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()