/* Loop to verify if pending interrupt on pin is cleared */
while((B_DET_Low_INTSTAT B_DET_Low_MASK) == B_DET_Low_MASK)
{
/* Try to clear the interrupt on Pin_INTSTAT */
B_DET_Low_ClearInterrupt();
/* Clear Pending on ISR component as well */
B_DET_Low_ShutDown_ClearPending();
}
/* Loop to verify if pending interrupt on pin is cleared */
while((B_DET_Low_INTSTAT B_DET_Low_MASK) == B_DET_Low_MASK)
{
/* Try to clear the interrupt on Pin_INTSTAT */
B_DET_Low_ClearInterrupt();
/* Clear Pending on ISR component as well */
B_DET_Low_ShutDown_ClearPending();
}
举报