DT's Instant Interrupts disable?


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2012
    Location
    Grid EN19MV
    Posts
    159

    Default DT's Instant Interrupts disable?

    I have searched for this, including Darrell's site, but can't seem to find an answer.

    Once you have the interrupts running, is there a way to temporarily disable them to complete some critical task?

    Thanks,

    Andy
    "I have noticed that even those who assert that everything is predestined and that
    we can change nothing about it still look both ways before they cross the street"


    -Stephen Hawking

  2. #2
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: DT's Instant Interrupts disable?

    Code:
       '----------- Enable Interupt Service Routines ------------------- 
    
    @    INT_ENABLE  TMR0_INT     ; enable Timer 0 interrupts  and start Timer 0
    
    
       '----------- disable Interupt Service Routines ------------------- 
    
    @    INT_DISABLE  TMR0_INT     ; enable Timer 0 interrupts  and start Timer 0

  3. #3
    Join Date
    Jan 2012
    Location
    Grid EN19MV
    Posts
    159


    Did you find this post helpful? Yes | No

    Default Re: DT's Instant Interrupts disable?

    Thanks! Not sure why I never tried that.......
    "I have noticed that even those who assert that everything is predestined and that
    we can change nothing about it still look both ways before they cross the street"


    -Stephen Hawking

Similar Threads

  1. DT's Instant Interrupts
    By andywpg in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 1st June 2014, 18:01
  2. DT's instant interupts compile problem
    By comwarrior in forum General
    Replies: 4
    Last Post: - 18th October 2009, 19:30
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 06:32

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts