AnsweredAssumed Answered

Adding/replacing PE Interrupts

Question asked by John Hardesty on Feb 22, 2012
Latest reply on Feb 23, 2012 by John Hardesty

I'm using CW10.2 and PE 3.5.0. I need to add just one line of code when a UART character is received. PE only gives me access to UART0_CSR_OnBlockReceived when the total block is received. I want to do something everytime an individual character is received. i have made it work by editing the static void InterruptRx(UART0_CSR_TDeviceDataPtr DeviceDataPrv) routine and not generating PE code. But this gets overwritten everytime PE generates code.


Is there some way to have my own interrupt routine service this interrupt and then call the PE routine? Or perhaps something else I haven't thought of?