Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/mcan/
Dfsl_mcan.c398 uint32_t ideal_sp, seg1Temp; in MCAN_FDGetSegments() local
403 ideal_sp = IDEAL_DATA_SP_1; in MCAN_FDGetSegments()
407 ideal_sp = IDEAL_DATA_SP_2; in MCAN_FDGetSegments()
411 ideal_sp = IDEAL_DATA_SP_3; in MCAN_FDGetSegments()
415 ideal_sp = IDEAL_DATA_SP_4; in MCAN_FDGetSegments()
418 pconfig->dataseg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR - 1U); in MCAN_FDGetSegments()
720 uint32_t ideal_sp, seg1Temp; in MCAN_GetSegments() local
725 ideal_sp = IDEAL_SP_LOW; in MCAN_GetSegments()
729 ideal_sp = IDEAL_SP_MID; in MCAN_GetSegments()
733 ideal_sp = IDEAL_SP_HIGH; in MCAN_GetSegments()
[all …]
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/mscan/
Dfsl_mscan.c238 uint32_t ideal_sp; in MSCAN_GetSegments() local
245 ideal_sp = IDEAL_SP_LOW; in MSCAN_GetSegments()
249 ideal_sp = IDEAL_SP_MID; in MSCAN_GetSegments()
253 ideal_sp = IDEAL_SP_HIGH; in MSCAN_GetSegments()
257 p1 = tqNum * (uint32_t)ideal_sp; in MSCAN_GetSegments()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcan/
Dfsl_flexcan.c1636 uint32_t ideal_sp; in FLEXCAN_GetSegments() local
1667 ideal_sp = IDEAL_SP_LOW; in FLEXCAN_GetSegments()
1671 ideal_sp = IDEAL_SP_MID; in FLEXCAN_GetSegments()
1675 ideal_sp = IDEAL_SP_HIGH; in FLEXCAN_GetSegments()
1678 pTimingConfig->phaseSeg2 = (uint8_t)(tqNum - (tqNum * ideal_sp) / (uint32_t)IDEAL_SP_FACTOR); in FLEXCAN_GetSegments()
1887 uint32_t ideal_sp; in FLEXCAN_FDGetSegments() local
1905 ideal_sp = IDEAL_DATA_SP_1; in FLEXCAN_FDGetSegments()
1909 ideal_sp = IDEAL_DATA_SP_2; in FLEXCAN_FDGetSegments()
1913 ideal_sp = IDEAL_DATA_SP_3; in FLEXCAN_FDGetSegments()
1917 ideal_sp = IDEAL_DATA_SP_4; in FLEXCAN_FDGetSegments()
[all …]