09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IDisable Disables interrupts<br />

Example<br />

IDisable (Interrupt Disable) is used to disable all interrupts temporarily. It may, for<br />

example, be used in a particularly sensitive part of the program where no interrupts<br />

may be permitted to take place in case they disturb normal program execution.<br />

IDisable;<br />

FOR i FROM 1 TO 100 DO<br />

character[i]:=ReadBin(sensor);<br />

ENDFOR<br />

IEnable;<br />

Program execution<br />

Syntax<br />

No interrupts are permitted as long as the serial channel is reading.<br />

Interrupts which occur during the time in which an IDisable instruction is in effect are<br />

placed in a queue. When interrupts are permitted once more, the interrupt(s) of the program<br />

then immediately start generating, executed in “first in - first out” order in the<br />

queue.<br />

IDisable‘;’<br />

Related information<br />

Summary of interrupts<br />

Described in:<br />

<strong>RAPID</strong> Summary - Interrupt<br />

Permitting interrupts Instructions - IEnable<br />

<strong>RAPID</strong> Reference Manual 8-IDisable-1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!