LOAD/de

(Difference between revisions)
Jump to: navigation, search
((**COPIED FROM ENGLISH PAGE**) =)
(Funktion)
Line 1: Line 1:
 
= <span class="f_Header">Funktion</span> =
 
= <span class="f_Header">Funktion</span> =
  
Läd einen bestimmten Timer mit ein Wert.
+
Läd einen bestimmten Timer mit einem Wert.
  
 
<span style="font-family: Arial;">&nbsp;</span>
 
<span style="font-family: Arial;">&nbsp;</span>

Revision as of 06:51, 1 March 2013

Contents

Funktion

Läd einen bestimmten Timer mit einem Wert.

 

 

Syntax

LOAD TIMER , value

 

 

Remarks

TIMER

TIMER0 , TIMER1 or TIMER2(or valid timer name)

Value

The variable or value to load.

 

The TIMER0 does not have a reload mode. But when you want the timer to generate an interrupt after 10 ticks for example, you can use the LOAD statement.

 

It will do the calculation : (256-value)

 

So LOAD TIMER0, 10 will load the TIMER0 with a value of 246 so that it will overflow after 10 ticks.

TIMER1 is a 16 bit counter so it will be loaded with the value of 65536-value.

 

See Also

NONE

 

 

Example

NONE


Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language