So GPIO doesn't appear to actually have interrupts, it's the EXTI (External Interrupts). This is configured by the SYSCFG/EXTI devices and triggered straight from the EXTI controller (page 384). This is why it has been such a trouble/confusing. Should be pretty straight forward to add a EXTI device Need to remove IRQ's from GPIO devices though
So the GPIO interrupt hack I had, appeared to just be triggering the EXT9_5 line which is why it worked. This shouldn't actually be in the GPIO though
So GPIO doesn't appear to actually have interrupts, it's the EXTI (External Interrupts). This is configured by the SYSCFG/EXTI devices and triggered straight from the EXTI controller (page 384). This is why it has been such a trouble/confusing. Should be pretty straight forward to add a EXTI device Need to remove IRQ's from GPIO devices though
So the GPIO interrupt hack I had, appeared to just be triggering the EXT9_5 line which is why it worked. This shouldn't actually be in the GPIO though