please dont rip this site

PIC Micro Controller Interrupt support for multiple sources.

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



file: /Techref/microchip/isrmultipin.htm, 2KB, , updated: 2010/10/16 19:39, local time: 2024/6/17 10:55,

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF=""> Multiple source interrupts</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.

Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?


Welcome to!


Welcome to!