@Darrel Taylor Interrupt ;-)


Results 1 to 11 of 11

Threaded View

  1. #6
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Itīs not working. The INTCON registers seems to be the same, but nothing happens to PORTB change...
    Oh i didnīt see your last post.
    Is it not possible to work like before with RBCPins ... ?

    What does Note1 means?
    bit 7 GIE: Global Interrupt Enable bit
    1 = Enables all unmasked interrupts
    0 = Disables all interrupts
    bit 6 PEIE: Peripheral Interrupt Enable bit
    1 = Enables all unmasked peripheral interrupts
    0 = Disables all peripheral interrupts
    bit 5 T0IE: Timer0 Overflow Interrupt Enable bit
    1 = Enables the Timer0 interrupt
    0 = Disables the Timer0 interrupt
    bit 4 INTE: RB0/INT External Interrupt Enable bit
    1 = Enables the RB0/INT external interrupt
    0 = Disables the RB0/INT external interrupt
    bit 3 RBIE: PORTB Change Interrupt Enable bit(1)
    1 = Enables the PORTB change interrupt
    0 = Disables the PORTB change interrupt
    bit 2 T0IF: Timer0 Overflow Interrupt Flag bit(2)
    1 = TMR0 register has overflowed (must be cleared in software)
    0 = TMR0 register did not overflow
    bit 1 INTF: RB0/INT External Interrupt Flag bit
    1 = The RB0/INT external interrupt occurred (must be cleared in software)
    0 = The RB0/INT external interrupt did not occur
    bit 0 RBIF: PORTB Change Interrupt Flag bit
    1 = When at least one of the PORTB general purpose I/O pins changed state (must be cleared in software)
    0 = None of the PORTB general purpose I/O pins have changed state
    Note 1: The appropriate bits in the IOCB register must also be set.
    Last edited by Robson; - 31st August 2007 at 00:07.

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