USER2
Return to Introduction 

 

user2

 

USER2 is a user definable function. The function can accept two input parameters, a constant programmable value that always gives a single output. User functions must be written in assembly language and must respect the system conventions. For further information about user functions see the section INTERFACING WITH ASSEMBLER .

 

Property settings

 

Parameter

Description



Source file

The assembler source file that contains the user function

 

 

Function name

The name of the function. The assembler source code must contain a function with the same name

 

 

Programmable value

This field contains a constant value that is transferred to the function every time the function is called

 

 

IN1 Size

This parameter will establish the size for the input pin IN1

 

 

IN2 Size

This parameter will establish the size for the input pin IN2

       

Net plugs

 

Plug

Description



IN1

Function input # 1

 

 

IN2

Function input # 2

 

 

OUT

Function output

 

See also : USER1, USER3