I'm using the BF538FEZKIT and want to generate an interrupt when port F pin 0 is high. I'm using the following configurations for port F:
This should cause GPIO interrupt A to trigger when PF0 is high, correct? But what happens when that interrupt is triggered? How do i change the interrupt service routine- say for instance i want to toggle an LED whenever PF0 goes high?
Are GPIO interrupts (global interrupts?) enabled by default, or do I have to set them first somehow?
I dont have a good understanding of how interrupts work. Thanks!