Lines Matching refs:C2
54 #define MCG_C2_LP_VAL (((uint32_t)MCG->C2 & (uint32_t)MCG_C2_LP_MASK) >> (uint32_t)MCG_C2_LP_SHIFT)
55 #define MCG_C2_RANGE_VAL ((MCG->C2 & MCG_C2_RANGE_MASK) >> MCG_C2_RANGE_SHIFT)
613 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq()
790 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
801 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs))); in CLOCK_SetInternalRefClkConfig()
983 MCG->C2 &= ~(uint8_t)MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
987 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1119 … MCG->C2 = (uint8_t)((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
1139 MCG->C2 &= ~(uint8_t)OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1495 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFeeMode()
1572 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1655 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1680 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFbeMode()
1736 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1760 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1792 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); /* Disable lowpower. */ in CLOCK_SetPbeMode()
1884 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); in CLOCK_ExternalModeToFbeModeQuick()
1926 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
2004 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
2031 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_BootToBlpeMode()
2046 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
2134 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()