I dont see a problem if you use GPT for interrupts (I needed a different source of timer interrupt).
Registers are modified into the BSP, check the manual to learn how to open and compile the BSP. In this code you will find plenty of examples to learn how to write into registers.
I am not sure if this is the best way but its a start point.