Being new to STM8 development, I'm having a problem getting the external interrupt to work. There are many bits and pieces of external interrupt code I've found on the internet, but I haven't found a definitive piece of code that works as expected. H...