Hi all.
I have a need to trigger via software the ISR I've attached to fire on the Rising edge of a T3.6 GPIO pin. Essentially, trick it into thinking that the edge occurred on the external signal.
I know I can use NVIC_SET_PENDING() or write to the NVIC_STIR register. But, I think that will only fire the interrupt for the PORT. That ISR will scan through the Port's ISFR register and see that the edge did not in fact occur. So, my attached ISR won't be called.
So, is there any way to force the Interrupt Status Flag for the pin before I fire the PORT interrupt?
Thanks.
I have a need to trigger via software the ISR I've attached to fire on the Rising edge of a T3.6 GPIO pin. Essentially, trick it into thinking that the edge occurred on the external signal.
I know I can use NVIC_SET_PENDING() or write to the NVIC_STIR register. But, I think that will only fire the interrupt for the PORT. That ISR will scan through the Port's ISFR register and see that the edge did not in fact occur. So, my attached ISR won't be called.
So, is there any way to force the Interrupt Status Flag for the pin before I fire the PORT interrupt?
Thanks.