PIC 18F2620 INT0 immer HIGH Prior obwohl LOW eingestellt?

OP #2259606
Lesenswert?

Hallo

Ich habe folgendes eingestellt, damit der INT0 einen LOW LEVEL INT 
auslöst:

    RCONbits.IPEN = 1;      // enable Interrupt Priority
    INTCONbits.GIE = 1;
    INTCONbits.PEIE = 1;
    INTCONbits.INT0IE = 1; //INT0 External Interrupt Enable bit 1 = 
Enables
    INTCONbits.INT0IF = 0; //Löschen des INT0 Flags


    TRISBbits.TRISB0 = 1;
    INTCON2 = 0b00000000;
    INTCON3 = 0b00000000;
    INTCON2bits.RBPU = 1; // PORTB Pullups OFF

Trotzdem löst eine Flanke an INT0 Port RB0 einen HIGH LEVEL INT aus.

Fehlt da noch was?

Danke für Hilfe
Thomas

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren