/* Sets the PLL0 monitor mode. 
This function sets the PLL0 monitor mode. The mode can be disabled, it can generate an interrupt when the error is disabled, or reset when the error is detected. */
void CLOCK_SetPll0MonitorMode(scg_pll0_monitor_mode_t mode)
/* Sets the PLL0 monitor mode. 
This function sets the PLL0 monitor mode. The mode can be disabled, it can generate an interrupt when the error is disabled, or reset when the error is detected. */
void CLOCK_SetPll0MonitorMode(scg_pll0_monitor_mode_t mode)
{
    uint32_t reg = SCG0->APLLCSR;
    reg &= ~(SCG_APLLCSR_APLLCM_MASK | SCG_APLLCSR_APLLCMRE_MASK);
    reg |= (uint32_t)mode;
    SCG0->APLLCSR = reg;
}