Lines Matching refs:flexcan_config

1127 	flexcan_config_t flexcan_config;  in mcux_flexcan_init()  local
1201 FLEXCAN_GetDefaultConfig(&flexcan_config); in mcux_flexcan_init()
1202 flexcan_config.maxMbNum = MCUX_FLEXCAN_MAX_MB; in mcux_flexcan_init()
1203 flexcan_config.clkSrc = config->clk_source; in mcux_flexcan_init()
1204 flexcan_config.baudRate = clock_freq / in mcux_flexcan_init()
1210 flexcan_config.baudRateFD = clock_freq / in mcux_flexcan_init()
1216 flexcan_config.enableIndividMask = true; in mcux_flexcan_init()
1217 flexcan_config.enableLoopBack = false; in mcux_flexcan_init()
1218 flexcan_config.disableSelfReception = true; in mcux_flexcan_init()
1220 flexcan_config.enableListenOnlyMode = true; in mcux_flexcan_init()
1222 flexcan_config.timingConfig.rJumpwidth = data->timing.sjw - 1U; in mcux_flexcan_init()
1223 flexcan_config.timingConfig.propSeg = data->timing.prop_seg - 1U; in mcux_flexcan_init()
1224 flexcan_config.timingConfig.phaseSeg1 = data->timing.phase_seg1 - 1U; in mcux_flexcan_init()
1225 flexcan_config.timingConfig.phaseSeg2 = data->timing.phase_seg2 - 1U; in mcux_flexcan_init()
1229 flexcan_config.timingConfig.frJumpwidth = data->timing_data.sjw - 1U; in mcux_flexcan_init()
1230 flexcan_config.timingConfig.fpropSeg = data->timing_data.prop_seg; in mcux_flexcan_init()
1231 flexcan_config.timingConfig.fphaseSeg1 = data->timing_data.phase_seg1 - 1U; in mcux_flexcan_init()
1232 flexcan_config.timingConfig.fphaseSeg2 = data->timing_data.phase_seg2 - 1U; in mcux_flexcan_init()
1234 FLEXCAN_FDInit(config->base, &flexcan_config, clock_freq, kFLEXCAN_64BperMB, true); in mcux_flexcan_init()
1237 FLEXCAN_Init(config->base, &flexcan_config, clock_freq); in mcux_flexcan_init()