Re: More Externals Interrupts

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dozio wrote:
> Hi, I have to manage 2 interrupt signals in the Evaluation Board DSTINIs400.
> The uP has 6 interrupts sources (INT0-5) but only the “external interrupt”
> INT0 is not used on the evaluation board.
> I don’t want to share the same interrupt for 2 sources reading 2 I/O bits to
> know which one generated the interrupt.

Gian,

Consider ANDing the two input sources and output to /INT0.  Also, run 
each source to an available port pin (port 5.4-5.7).  When you receive 
an interrupt, you can read the port pins to determine which interrupts 
are involved.


-- 
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.