??? 08/25/08 13:17 Read: times |
#157739 - no Responding to: ???'s previous message |
can anybody help as to how to use the GATE option of timer interrupts to do something at both low and high transitions at pin3.2?[EI0]
no 1) 'gate' has nothing to do with the external interrupts 2) [with the possible exception of some 'exotic' derivative] external interrupts are only activated going low you may be able to come up with something using external logic. but not with code. off topic, maybe helpful to some One thing I have used when needing both 'going high' and 'going low' are the comparator interrupts in the SILabs f120 Erik |
Topic | Author | Date |
pls help....8051 external interrupts | 01/01/70 00:00 | |
show definition of "a" variable | 01/01/70 00:00 | |
definiton : sbit a=P3^2; | 01/01/70 00:00 | |
Need more information | 01/01/70 00:00 | |
the entire code | 01/01/70 00:00 | |
keyscan | 01/01/70 00:00 | |
How the LED are connected? | 01/01/70 00:00 | |
One tip | 01/01/70 00:00 | |
P3.2= iNT0 | 01/01/70 00:00 | |
P3.2= INT0 | 01/01/70 00:00 | |
pin 3.2 | 01/01/70 00:00 | |
P3.2= INT0..1 | 01/01/70 00:00 | |
Obvious Reason | 01/01/70 00:00 | |
time duration | 01/01/70 00:00 | |
mistake | 01/01/70 00:00 | |
ok thanks alot | 01/01/70 00:00 | |
? | 01/01/70 00:00 | |
GATE0/1 ? | 01/01/70 00:00 | |
no | 01/01/70 00:00 | |
try | 01/01/70 00:00 | |
Debounce maybe? | 01/01/70 00:00 | |
Solution | 01/01/70 00:00 | |
interrupt flag bit clear | 01/01/70 00:00 | |
Detecting Both Edges - A very old trick![]() | 01/01/70 00:00 |