Jeff, The "C" compiler will let you create two interrupt handlers for PIC18, one for low and one for high priority. You can certainly change the priority of a device at runtime (although I would probably make sure it is "off" and not currently generating an interrupt first). If you do, you will have to include checks for that device in both interrupt handlers. Be very careful that you do not process the interrupt in the wrong handler (ie: the one that is not for the current priority of the device). -- Bob Ammerman RAm Systems ----- Original Message ----- From: "Jeff Zentner" To: "Microcontroller discussion list - Public." Sent: Thursday, March 27, 2008 12:17 PM Subject: [PIC] change interrupt priority at run time > Hi All > Is it possible to change interrupt priority at run time? I am using an > 18F252 and CCS complier. > > Jeff Zentner >> -- >> >> http://www.piclist.com PIC/SX FAQ & list archive >> View/change your membership options at >> http://mailman.mit.edu/mailman/listinfo/piclist >> > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist