I'm using an MCP to talk to a 6gang 240v/5v relay set while honouring 6 manual switches, using the interrupts - this is all working
i've also got a web interface, so if i (say) turn relay0 on over the web, i wanted to invert the polarity for that manual switch so it still works 'correctly', manually
Setting IPOL on the MCP causes an ISR storm that never ceases - 0xff is the cause and 0xff is the state
is there something esoteric i'm missing about changing polarity on a single port?
i am perplexed - any pointers, gladly received