It is passible to generate two interrupt "Terminal Cound" and "Compare True" ?
Yes. In the global properties pick one of the two, for example say compare true,
then route Tc to a pin, and set it up in its properties with an interrupt.
Or if you do not want to use a pin, place a buffer, and route Tc to it, and set up ISR on output 1 of the buffer.
Removed comment, already well covered by Dana
I looked at register definitions, but interrupt is not either or, its one or
the other, so no solution there, eg. direct writes to configuration registers
do not offer a solution in this case.
Anytime seg comments I learn.