>
>
> Neither, Joe... Although its meaning is closer to your first guess
> than your second.
>
> The note says that if an I/O-pin change occurs at just the right
> moment DURING THE EXECUTION OF AN INSTRUCTION THAT READS THE I/O
> PORT, the interrupt flag may not be set. In other words, if your
> code never accesses the I/O port while interrupts are enabled, you
> won't miss any interrupts... And if you happen to have particularly
> unfortunate pin-change timing coupled with code that accesses the I/O
> port all the time, you could potentially miss ALL I/O-pin-change
> interrupts.
>
> Note that I wrote "accesses", not "reads". As it turns out, even
> writes to the I/O port perform a dummy read operation during Q2, so
> ANY operation on the port can cause interrupts to be missed... Which
> is why it's often best to rely on the I/O-pin-change interrupt only
> for waking the PIC from sleep mode.
>
> Some newer, larger PICs don't have this bug; I don't know if there
> are any 12Fxxx parts without it, though.
>
> -Andy
>
> === Andrew Warren -
fastfwd
spam_OUTix.netcom.com
>