Hi, I find a quite weird issue about the hwa done interrupt registering.
In my project, the hwa function HWA_enableDoneInterrupt() leads to call the ISR callback directly which is registering by HWA_enableDoneInterrupt() , unexpectly.
my testing steps and results shown as following:
1. I add a counter named as AOAProcHWADoneIsrCallbackRunningCnt to count how many the times this ISR callback has been run.
2. Set breakpoints before and after function HWA_enableDoneInterrupt().
Run the test program, untill hit the breakpoint before HWA_enableDoneInterrupt().
Figure shown as below. We can find that the AOAProcHWADoneIsrCallbackRunningCnt = 0, which is correct as expected.
3. Step over the HWA_enableDoneInterrupt(), hit the 2nd breadpoint after HWA_enableDoneInterrupt().
Figure shown as below. find that the AOAProcHWADoneIsrCallbackRunningCnt = 1, which is Incorrect as unexpected.
4. Step over a HWA_disableDoneInterrupt(), then still can step over the 1st SemaphoreP_pend(), which means that the semaphore is posted by the ISR indeed.
While the 2nd SemaphoreP_pend() can not step over, which is corrent as expected.
This issue may result in the wrong controlling on hwa running.
Can you help me confirm it and fix or avoid it ?
Thank you very much!