Re: Disabling Interrupts in Java

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Waldemar wrote:
> I needed to write my own SPI-communication routine, because I need a special
> starting condition.
> I use therefore three free Pins of an I/O-expander which is programmed by
> I2C (PCF8574).
> 
> The communication is does oly work, if I change the thread to max. priority.

Does this mean the special SPI condition is timing dependent and not 
synchronous?

> But I want to make it safer, so I'll need to disable Interrupts during
> transmission. I've found something similar in older postings, but I don't
> know assembler and would like to know, if this can be done in Java. Has
> anyone an example?

You cannot disable CPU interrupts from Java.


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