Do not use "while", this can skip a result in the other channel. Use if(Filter_IsInterruptChannelA() )
Do not forget to remove/disable your interrupt component.
Thankyou for your reply.
Yes i used "if command".
Also for channel B: Filter_INT_CTRL_REG |= (2 << Filter_CHANNEL_B); is this command is correct? I didnt find enough explanation about this command.
No, do a Filter_INT_CTRL_REG |= 0x03 to enable channel A and B.
Filter_INT_CTRL_REG |= (1 << Filter_CHANNEL_B); might work, but "ich hab keine Lust nachzusehen, mach Du das" ;-)