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)
537 if ((MCG->C2 & MCG_C2_LP_MASK) || (MCG->S & MCG_S_PLLST_MASK)) in CLOCK_GetFllFreq()
637 MCG->C2 = ((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
647 MCG->C2 = (MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs)); in CLOCK_SetInternalRefClkConfig()
791 MCG->C2 &= ~MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
795 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
872 MCG->C2 = ((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
886 MCG->C2 &= ~OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1160 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFeeMode()
1220 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1287 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1312 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_SetFbeMode()
1358 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1373 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1386 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetPbeMode()
1450 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_ExternalModeToFbeModeQuick()
1476 MCG->C2 &= ~MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
1511 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
1527 if (MCG->C2 & MCG_C2_EREFS_MASK) in CLOCK_BootToBlpeMode()
1542 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
1603 MCG->C2 &= ~MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()