Re: Level triggering from a native ISR

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Сергеев Василий wrote:
> Explain me please what does it mean "level trigger from a native ISR" 
> and how to do it. As I know there is native function 
> System_RegisterExternalInterrupt. I dont know how to register 
> externalInterruptEvent (which is made on Java) from native function:((

You would need to register your own ISR and provide a Java native 
function that provided the same service as ExternalInterrupt in Java. 
Your Java function would need to call to native where it would sleep 
until woken up by the interrupt.  When it awoke, it would return to Java 
and fire off an externalInterruptEvent to all listeners.

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