Lines Matching refs:C2
100 #define MCG_C2_LP_VAL ((MCG->C2 & MCG_C2_LP_MASK) >> MCG_C2_LP_SHIFT)
101 #define MCG_C2_RANGE_VAL ((MCG->C2 & MCG_C2_RANGE_MASK) >> MCG_C2_RANGE_SHIFT)
512 if ((MCG->C2 & MCG_C2_LP_MASK) in CLOCK_GetFllFreq()
619 MCG->C2 = ((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
629 MCG->C2 = (MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs)); in CLOCK_SetInternalRefClkConfig()
658 MCG->C2 &= ~MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
662 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
714 MCG->C2 = ((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
728 MCG->C2 &= ~OSC_MODE_MASK; in CLOCK_DeinitOsc0()
993 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFeeMode()
1053 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1115 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1141 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFbeMode()
1187 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1202 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1218 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_ExternalModeToFbeModeQuick()
1239 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
1276 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
1294 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_BootToBlpeMode()
1309 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
1356 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()