Lines Matching refs:trimConfig
543 if ((config->trimConfig) != NULL) in CLOCK_InitFirc()
545 SCG->FIRCTCFG = SCG_FIRCTCFG_TRIMSRC(config->trimConfig->trimSrc); in CLOCK_InitFirc()
548 if (kSCG_FircTrimNonUpdate == config->trimConfig->trimMode) in CLOCK_InitFirc()
550 SCG->FIRCSTAT = SCG_FIRCSTAT_TRIMCOAR(config->trimConfig->trimCoar) | in CLOCK_InitFirc()
551 SCG_FIRCSTAT_TRIMFINE(config->trimConfig->trimFine); in CLOCK_InitFirc()
555 SCG->FIRCCSR = (uint32_t)(config->trimConfig->trimMode); in CLOCK_InitFirc()
725 if ((config->trimConfig) != NULL) in CLOCK_InitLpFll()
727 SCG->LPFLLTCFG = SCG_LPFLLTCFG_TRIMDIV(config->trimConfig->trimDiv) | in CLOCK_InitLpFll()
728 SCG_LPFLLTCFG_TRIMSRC(config->trimConfig->trimSrc) | in CLOCK_InitLpFll()
729 SCG_LPFLLTCFG_LOCKW2LSB(config->trimConfig->lockMode); in CLOCK_InitLpFll()
731 if (kSCG_LpFllTrimNonUpdate == config->trimConfig->trimMode) in CLOCK_InitLpFll()
733 SCG->LPFLLSTAT = config->trimConfig->trimValue; in CLOCK_InitLpFll()
737 SCG->LPFLLCSR = (uint32_t)(config->trimConfig->trimMode); in CLOCK_InitLpFll()
754 if ((config->trimConfig != NULL) && (kSCG_LpFllTrimUpdate == config->trimConfig->trimMode)) in CLOCK_InitLpFll()