I'm sorry. Question A written in Question 2-2 is Question 2-1.
Thank you for contacting us.
I leave answers for your questions below.
It’s possible to be pending multiple interrupt while interrupts are disabled with CyEnterCriticalSection.
And there is not limitation for number of multiple interrupts.
But it’s not recommended to perform tons of interrupt because it will be taken a lot of time for process
They will be performed in order of priorities.
But Interrupt “1” is not cancelled, but nested.
Answer: a (③, that is mentioned as, is regarded as ①)
It was very helpful to receive a reply.
I thought that only one interrupt with high priority could be pending in the interrupt disabled section.
By the way, is there a case where the generated interrupt is discarded?
(If so, when?)
Generally, there is a case to miss an interrupt by some of reason.
For example, user doesn’t clear interrupt correctly. The interrupt with same priority happen at same time. If an interrupt is pending so long time, multiple same interrupt will be missed. and so on.
So user should implement the system with consideration of interrupt processing (occurrence, priority, etc).