Home
last modified time | relevance | path

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

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/mcan/
Dfsl_mcan.c40 #define MAX_NTSEG1 (CAN_NBTP_NTSEG1_MASK >> CAN_NBTP_NTSEG1_SHIFT) macro
45 #define NBTP_MAX_TIME_QUANTA (1U + MAX_NTSEG2 + 1U + MAX_NTSEG1 + 1U)
499 if (seg1Temp > MAX_NTSEG1) in MCAN_CalculateImprovedNominalTimingValues()
501 configTemp.seg2 = (uint8_t)(tqNum - MAX_NTSEG1 - 3U); in MCAN_CalculateImprovedNominalTimingValues()
502 configTemp.seg1 = MAX_NTSEG1; in MCAN_CalculateImprovedNominalTimingValues()
746 if (seg1Temp > MAX_NTSEG1) in MCAN_GetSegments()
748 pconfig->seg2 = (uint8_t)(tqNum - MAX_NTSEG1 - 3U); in MCAN_GetSegments()
749 pconfig->seg1 = MAX_NTSEG1; in MCAN_GetSegments()
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/flexcan/
Dfsl_flexcan.c80 #define MAX_NTSEG1 (CAN_ENCBT_NTSEG1_MASK >> CAN_ENCBT_NTSEG1_SHIFT) macro
84 #define ENCBT_MAX_TIME_QUANTA (1U + MAX_NTSEG1 + 1U + MAX_NTSEG2 + 1U)
1626 proSegMax = MAX_NTSEG1 - MAX_NTSEG2; in FLEXCAN_GetSegments()
1983 proSegMax = MAX_NTSEG1 - MAX_NTSEG2; in FLEXCAN_CalculateImprovedNominalTimingValues()