hello i use hercules Development kit.
1.where I can find documentation about all function (HElcogen 3.4 doesnt have them all).
2.when i use gio portA and i want to external interrupt. how do i write the function of the interrupt?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hello i use hercules Development kit.
1.where I can find documentation about all function (HElcogen 3.4 doesnt have them all).
2.when i use gio portA and i want to external interrupt. how do i write the function of the interrupt?
sergey medinski said:hello i use RM48 hercules Development kit.
1.where I can find documentation about all function (HElcogen 3.4 doesnt have them all).
2.when i use gio portA and i want to external interrupt. how do i write the function of the interrupt?
Sergey,
I've created a basic code using Halcogen 03.06.00 that demonstrates the usage of interrupt with GIO module.
The GIO_A7 is used to detect Rising Edge on the pin.
In order to make this test code standalone, I also drive the GIO_A7 as output, to create the rising edge condition.
When the interrupt condition is met, the CPU will branch to gioHighLevelInterrupt(void) in GIO.c.
From there, gioNotification(gioPORTA, offset) is called. In this routine, you will write your own code. In my case, I just reset the GIO_A7 to 0.
Please let me know if this is helping you.4377.GIO_Interrupt_be.zip