I am note sure how long time will this function takes. You can add some GPIO set/clear function here, to check the task run duration. By observe the GPIO positive pulse width using Scope. // Debug GPIO set here if(GPIO_PIN0_Value != ((HWREG16(P6_BASE + OFS_PAIN) & (GPIO_PIN0 0)) { ISR_Missed = true; } else { ISR_Missed = false; } // Debug GPIO clear here
↧