Setup an interrupt on S5D5 microcontroller

Hi everyone,

I'm currently working on the TB-S5D5 target board and particularly the interrupt. I would like to setup manualy a interrupt on a GPIO first and then on the SCI1 to be able to do some RS485 communication. I'm working with some special sensor that requiert conituous clock transmission during communication and also start sending data after some clock edges... So, i need to setup my own interruption handler. And, it's also for my general knowledge.

I'm thinking of doing this in two steps :

first : setting up a basic interrupt on a GPIO on the rising edge for exemple. Write an ISR and do some stuff that i can record with my scope to be sure my interrupt is correctly initialize.

And then, setup the interrupt for the SCI.

If you have any application note, tutorial, explanation on how to initalize and manage interrupt on this microcontroller, I'd be very grateful.

Your help is welcome.

PS : i'm using e² studio