We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello what is the structure for writing specific ISR for different on chip peripherals?
That is not an UART interrupt handler. It does not ask the UART for any pending events. It does not feed more characters to send. It does not pick up any received characters. It does not clear any overrun errors. It does not acknowledge that the interrupt has beeen handled.
You really must be able to find sample code for an interrupt handler for your processor.
When i feed U3THR the CPU transmits the data over transmit. After transmitting the interrupt flag settled to one. When this is settled to one i want to blink LEDs. Thats the requirement for which i have written this code.
Your sample code for that incredible machine of yours will show you how. Jack Sprat wrote not long ago: "I have also noticed that you are not averse to using language that would be considered blasphemy by at least one of the major global religions". So you see Jack, I CAN glorify a processor core without the sin of blasphemy after all :-) but I admit having to bite my tongue!