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?
Thanks,
John
Solved! Go to Solution.
That was exactly what i was looking for. Thanks.
Hello,
I think that you have use the "Don´t Write Generated Componentn Module" command. Fro details please see the attachment.
You can also find more details about this efature in the Help: