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)
710 assert((MCG->C2 & MCG_C2_IRCS_MASK) == 0U); in CLOCK_EnableUsbhs0PhyPllClock()
889 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq()
1122 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
1133 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs))); in CLOCK_SetInternalRefClkConfig()
1331 MCG->C2 &= ~(uint8_t)MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1335 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1538 … MCG->C2 = (uint8_t)((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
1558 MCG->C2 &= ~(uint8_t)OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1915 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFeeMode()
1992 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
2075 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
2101 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFbeMode()
2157 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
2181 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
2217 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); /* Disable lowpower. */ in CLOCK_SetPbeMode()
2315 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); in CLOCK_ExternalModeToFbeModeQuick()
2357 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
2435 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
2463 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_BootToBlpeMode()
2478 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
2583 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()