Created Mon, 27 Feb 2017 16:19:03 +0000 by michastro
Mon, 27 Feb 2017 16:19:03 +0000
Hello, I am using UNO32 and as plib library is no more available, I have to replace some instructions, like: mT23ClearIntFlag() mT23IntEnable(0) mT23IntEnable(1) mT45ClearIntFlag() mT45IntEnable(0) mT45IntEnable(1) I think it's something like: IEC0SET=????? IFS0SET=????? IEC0CLR=???? IFS0CLR=???? But I am really not sure of me. Thanks a lot Michel
Mon, 27 Feb 2017 20:28:30 +0000
You need to switch to using the chipKIT interrupt system. It's all detailed here:
Mon, 27 Feb 2017 22:26:24 +0000
Hello, I don't really see any explanation because my program works with timer 23 and 45.
Michel
Mon, 27 Feb 2017 23:58:00 +0000
Read the documents linked from that article - especially mine. It details how to work with interrupts - what the "clear interrupt flag" and "enable interrupt" and "set interrupt vector" functions are that replace the macros you listed.