Interrupt on RB port change with PIC18F23K20


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,651


    Did you find this post helpful? Yes | No

    Post


    This interrupt can wake the device from the Sleep
    mode, or any of the Idle modes. The user, in the
    Interrupt Service Routine, can clear the interrupt in the
    following manner:


    a) Any read or write of PORTB to clear the mismatch
    condition (except when PORTB is the
    source or destination of a
    MOVFF instruction).


    b) Clear the flag bit, RBIF.



    A mismatch condition will continue to set the RBIF flag bit.
    Reading or writing PORTB will end the mismatch
    condition and allow the RBIF bit to be cleared. The latch
    holding the last read value is not affected by a MCLR nor
    Brown-out Reset. After either one of these Resets, the

    RBIF flag will continue to be set if a mismatch is present
    a great classical ...

    I didn't see anything about the WDT nor ... but config is not shown ...

    Alain
    Last edited by Acetronics2; - 24th January 2011 at 13:56.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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