PUBLIC uint32_t GSP_Trigger(void)
{
    if(GSP_ERRFLAG_GET())
    {
        //GSP_ASSERT();
        return GSP_ERRCODE_GET();
    }

    GSP_IRQENABLE_SET(GSP_IRQ_TYPE_ENABLE);
    GSP_ENGINE_TRIGGER();
    return 0;
}
예제 #2
0
PUBLIC uint32_t GSP_Trigger(void)
{
    int ret = GSP_ClocksCheckPhase1();
    if(ret) {
        return ret;
    }
    if(GSP_ERRFLAG_GET()) {
        //GSP_ASSERT();
        return GSP_ERRCODE_GET();
    }

    GSP_IRQENABLE_SET(GSP_IRQ_TYPE_ENABLE);
    GSP_ENGINE_TRIGGER();
    return 0;
}