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)
659 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq()
864 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
875 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs))); in CLOCK_SetInternalRefClkConfig()
1055 MCG->C2 &= ~(uint8_t)MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1059 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1228 … MCG->C2 = (uint8_t)((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
1248 MCG->C2 &= ~(uint8_t)OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1605 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFeeMode()
1682 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1765 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1791 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFbeMode()
1847 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1871 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1903 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); /* Disable lowpower. */ in CLOCK_SetPbeMode()
1995 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); in CLOCK_ExternalModeToFbeModeQuick()
2037 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
2115 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
2143 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_BootToBlpeMode()
2158 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
2259 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()