ZHCAB93 July 2021 DRA821U , DRA821U-Q1 , DRA829J , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Topic Link Label5.7.4显示了该中断的注册。
/* user_main_nav_low_priority */
ISR(Sciserver_tirtosUserMsgHwiFxn4)
{
Sciserver_hwiData *uhd = &sciserver_hwi_list[USER_MAIN_NAV_LOW];
int32_t ret = CSL_PASS;
bool soft_error = false;
/* TI RTOS: Osal_DisableInterrupt(0, (int32_t) uhd->irq_num); */
*(volatile unsigned int *)(0x40F80000 + 0x400 +
(CSLR_MCU_R5FSS0_CORE0_INTR_MCU_NAVSS0_INTR_ROUTER_0_OUTL_INTR_9/32)*0x20 + 0x0C) = 0x200;
ret = Sciserver_interruptHandler(uhd, &soft_error);
if ((ret != CSL_PASS) && (soft_error == true))
{
/* TI RTOS: Osal_EnableInterrupt(0, (int32_t) uhd->irq_num); */
*(volatile unsigned int *)(0x40F80000 + 0x400 +
(CSLR_MCU_R5FSS0_CORE0_INTR_MCU_NAVSS0_INTR_ROUTER_0_OUTL_INTR_9/32)*0x20 + 0x08) = 0x200;
}
else
{
/* TI RTOS: (void) SemaphoreP_post(gSciserverUserSemHandles[uhd->semaphore_id]); */
(void)SetEvent(SciServerLowOsTask,
Rte_Ev_Run_CtApSciserverLow_CtApSciserverLowRunnable_SciserverTrigger_UserLo_Trigger);
}
/* TI RTOS: Osal_ClearInterrupt(0, (int32_t) uhd->irq_num); */
*(volatile unsigned int *)(0x40F80000 + 0x400 +
(CSLR_MCU_R5FSS0_CORE0_INTR_MCU_NAVSS0_INTR_ROUTER_0_OUTL_INTR_9/32)*0x20 + 0x04) = 0x200;
}