I also uncommented M8C_EnableGInt ;
Some useful ref material on setting up ISR on GPIO and other -
One further note, GPIO isr's are aggragated, you need to use a
mask to figure out what pin did it.
You have three pins enabled for interrupt, one of them is change from read. Since you read the port within the loop, ANY change of the signal (both edges) will trigger an interrupt. Test that by stop reading from the port, you'll see.
Thanks a lot for the links, I will read carefully trough it when I have the time.
A colleague from my university made it with
and maybe some other changes, I currently searchung for them :P
Anyway, I want to understand how it works, so thank you once again.
To give you an idea what I want to do. I want to read the Ulsewidth vom an RC-Remote into the PSoC. The idea is to use just one counter for different signals as they are never come at the same time. Therefore i will check inside the isr which pin is high and at the falling edge it will safe the value in on of a few variales.
So this was the idea and the reason why I have more than 1 PINs as Interrupt :)