Author Topic: interrupt priority order in 12F675  (Read 2106 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,585
  • Helpful? 169
    • 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

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1225 Views
Last post June 03, 2008, 08:55:27 AM
by ishka
22 Replies
5130 Views
Last post June 27, 2008, 07:59:44 PM
by JesseWelling
8 Replies
2207 Views
Last post November 28, 2008, 01:53:00 AM
by Admin
3 Replies
1112 Views
Last post June 25, 2010, 05:25:54 AM
by amando96


Get Your Ad Here

data_list