gnupic: pic interrupts
Subject:
pic interrupts
From:
Andreas Loeffler ####@####.####
Date:
28 Aug 2000 19:28:25 -0000
Message-Id: <20000828.19303445@al.ice-lab.de>
Hi,
i've a question which is actually not related to gpsim but maybe someone
can answer it anyhow?
I enabled global interrupts and the external interrupt the
interrupt-on-change is disabled like the following:
GIE=set; // enable global interrupts
PEIE=clear; //set; // enable peripherial irq
T0IE=clear; //disable timer 0 interrupt
INTE=set; //enable rb0/int interrupt
RBIE=clear; //set; //enable portb interrupt-on-change
--
now when the state change on eg. RB4 the flag bit RBIF gets set (as it
should be) but also INTF gets set. Is this normal?
I expected only RBIF to be set here, how to avoid INTF to be set (the
state on RB) remains the same actually)?
Thanks
regards
andreas