GX_WAKEUP_SOURCE source = gx_pmu_get_wakeup_source(); printf("wakeup source 0x%x\n", source);
gx_pmu_clear_wakeup_source();