Re: CAN bus interrupts

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Qaisar Ahsan wrote:
> Can anybody guide me how to deal with CAN interrupts in a java program for TINI.
> I want to receive CAN messages but do not want to use polling.

You could write an EventListener that blocks for CAN messages and fires 
CAN events to listening threads.  See the Java docs for 
java.util.EventListener.

-- 
--
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.