Society of Robots - Robot Forum
Software => Software => Topic started by: aruna1 on August 01, 2009, 09:23:39 PM
-
guys is there interrupt priority order in 12F675? like if both external interrupt and timer interrupt occur same time which interrupt service will run first?
is there anyway we can set priorities?
and can we use comparator interrupt as zero voltage detector?
thanks
-
I don't know about priorities, but when an interrupt is called, an mcu could be told to temporarily disable all other interrupts until the original interrupt code is finished.
-
found that interrupt priorities can be set using command in CCS C :)
#PRIORITY
example
#PRIORITY ext,rb