Lines Matching refs:C2
72 #define MCG_C2_LP_VAL ((MCG->C2 & MCG_C2_LP_MASK) >> MCG_C2_LP_SHIFT)
73 #define MCG_C2_RANGE_VAL ((MCG->C2 & MCG_C2_RANGE_MASK) >> MCG_C2_RANGE_SHIFT)
561 if ((MCG->C2 & MCG_C2_LP_MASK) || (MCG->S & MCG_S_PLLST_MASK)) in CLOCK_GetFllFreq()
690 MCG->C2 = ((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
700 MCG->C2 = (MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs)); in CLOCK_SetInternalRefClkConfig()
844 MCG->C2 &= ~MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
848 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
955 MCG->C2 = ((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
969 MCG->C2 &= ~OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1244 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFeeMode()
1304 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1371 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1397 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFbeMode()
1443 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1458 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1471 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetPbeMode()
1535 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_ExternalModeToFbeModeQuick()
1561 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
1596 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
1613 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_BootToBlpeMode()
1628 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
1702 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()