ZHCAB93 July 2021 DRA821U , DRA821U-Q1 , DRA829J , DRA829V , DRA829V-Q1 , TDA4VM , TDA4VM-Q1
Topic Link Label5.7.1显示了该中断的注册。
/* user_mcu_nav_high_priority */
ISR(Sciserver_tirtosUserMsgHwiFxn1)
{
Sciserver_hwiData *uhd = &sciserver_hwi_list[USER_MCU_NAV_HIGH];
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_6/32)*0x20 + 0x0C) = 0x40;
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_6/32)*0x20 + 0x08) = 0x40;
}
else
{
/* TI RTOS: (void) SemaphoreP_post(gSciserverUserSemHandles[uhd->semaphore_id]); */
(void)SetEvent(SciServerHighOsTask,
Rte_Ev_Run_CtApSciserverHigh_CtApSciserverHighRunnable_SciserverTrigger_UserHi_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_6/32)*0x20 + 0x04) = 0x40;
}