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)
692 if ((((MCG->C2 & MCG_C2_LP_MASK) != 0U) || ((MCG->S & MCG_S_PLLST_MASK) != 0U))) in CLOCK_GetFllFreq()
897 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(kMCG_IrcSlow))); in CLOCK_SetInternalRefClkConfig()
908 MCG->C2 = (uint8_t)((MCG->C2 & ~MCG_C2_IRCS_MASK) | (MCG_C2_IRCS(ircs))); in CLOCK_SetInternalRefClkConfig()
1088 MCG->C2 &= ~(uint8_t)MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1092 MCG->C2 |= MCG_C2_LOCRE0_MASK; in CLOCK_SetOsc0MonitorMode()
1261 … MCG->C2 = (uint8_t)((MCG->C2 & ~OSC_MODE_MASK) | MCG_C2_RANGE(range) | (uint8_t)config->workMode); in CLOCK_InitOsc0()
1281 MCG->C2 &= ~(uint8_t)OSC_MODE_MASK; in CLOCK_DeinitOsc0()
1638 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFeeMode()
1715 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetFbiMode()
1798 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_SetFbeMode()
1824 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_SetFbeMode()
1880 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpiMode()
1904 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_SetBlpeMode()
1936 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); /* Disable lowpower. */ in CLOCK_SetPbeMode()
2028 MCG->C2 &= (uint8_t)(~MCG_C2_LP_MASK); in CLOCK_ExternalModeToFbeModeQuick()
2070 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; in CLOCK_InternalModeToFbiModeQuick()
2148 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpiMode()
2176 if (0U != (MCG->C2 & MCG_C2_EREFS_MASK)) in CLOCK_BootToBlpeMode()
2191 MCG->C2 |= MCG_C2_LP_MASK; in CLOCK_BootToBlpeMode()
2292 MCG->C2 &= ~(uint8_t)MCG_C2_LP_MASK; /* Disable lowpower. */ in CLOCK_SetMcgConfig()