Michael Rigby-Jones [mrjones at NORTELNETWORKS.COM] says:
You could probably implement multiple external interupts with just some diode OR logic if the interrupt pulse wasn't too quick. Just set a port as inputs, and wire a diode from each port pin to B0. I the interrupt handler you would then read the port to decide which pin had caused the interrupt. You could also consider using the interrupt on change feature of PORT B on the mid range devices.
Soren Knudsen [PIC at KNUDSEN.CJB.NET] says:
[If you wire a second interrupt input to whatever pin you have set as the] source for the timer increement and at every finished INT write 0xFF to the timer you have an alternative to the PORTB, 0 pin INT.
Timer tutorial (incl prescalers) by Andrew Warren
Questions:
See
file: /Techref/microchip/isrmultipin.htm, 2KB, , updated: 2010/10/16 18:39, local time: 2024/11/21 17:38,
18.219.25.226:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/microchip/isrmultipin.htm"> Multiple source interrupts</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.