ZHCAB93 July 2021 DRA821U , DRA821U-Q1 , DRA829J , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
FUNC(void, CtApSciserverLow_CODE) CtApSciserverLowRunnable(void)
{
sint32 ret;
GetResource(OsResource_SciserverSync);
ret = Sciserver_processtask(utdLow);
if (ret != CSL_PASS)
{
/* 消息处理失败,发送 nak 响应失败 */
/* TI-RTOS: BIOS_exit(0); */
ReleaseResource(OsResource_SciserverSync);
(void)TerminateTask();
}
else
{
/* TI-RTOS:
Osal_EnableInterrupt(0, sciserver_hwi_list[2U * utd->task_id +
utd->state->current_buffer_idx].irq_num); */
lowIsrEnableVal = 1 << ((sciserver_hwi_list[2U * utdLow->task_id + utdLow->state->current_buffer_idx].irq_num) % 32);
*(volatile unsigned int *)(0x40F80000 + 0x400 +
(CSLR_MCU_R5FSS0_CORE0_INTR_MCU_NAVSS0_INTR_ROUTER_0_OUTL_INTR_8/32)*0x20 + 0x08) = lowIsrEnableVal;
}
ReleaseResource(OsResource_SciserverSync);
}