LOAD/de

(Difference between revisions)
Jump to: navigation, search
(Created page with "= <span class="f_Header">Action</span> = Load specified TIMER with a reload value. <span style="font-family: Arial;"> </span> <span style="font-family: Arial;"> <...")
 
m (1 revision)

Revision as of 21:15, 15 February 2013

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Load specified TIMER with a reload value.

 

 

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