go away spammer

Author Topic: interrupt priority order in 12F675  (Read 4817 times)

0 Members and 1 Guest are viewing this topic.

Offline aruna1Topic starter

  • Supreme Robot
  • *****
  • Posts: 381
  • Helpful? 4
  • I'm an Ordinary guy
interrupt priority order in 12F675
« 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'm Me

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: interrupt priority order in 12F675
« Reply #1 on: August 13, 2009, 10:35:16 AM »
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.

Offline aruna1Topic starter

  • Supreme Robot
  • *****
  • Posts: 381
  • Helpful? 4
  • I'm an Ordinary guy
Re: interrupt priority order in 12F675
« Reply #2 on: August 13, 2009, 11:38:24 AM »
found that interrupt priorities can be set using command in CCS C :)
#PRIORITY

example

#PRIORITY ext,rb
I'm Me

 


Get Your Ad Here

data_list