??? 11/24/04 14:06 Read: times |
#81849 - I am reading only the edge detect flag. Responding to: ???'s previous message |
Hi Oleg, Thanks for your reply,
With IE0 I am only reading the occurance of the negative going pulse on P3.2[ It is polling ]. I have not activated any external interrupt in IE register. Thus in my new program there is no ISR for external interrupts. Reading IE0 bit is a sort of polling and nothing to do with interrupt. Since I have not activated the external 0 bit in IE I will never get any interrupt however 8052 detects a negative going pulse on P3.2 and latches the IE0 bit which I am detecting and clearing so that it can be set again on next negative going pulse i.e. my zero cross. Thanks & Regards, Prahlad Purohit |