| Electronic Components Datasheet Search |
|
AS3661 Datasheet(PDF) 78 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3661 Datasheet(HTML) 78 Page - ams AG |
|
78 / 87 page ![]() www.austriamicrosystems.com Revision 1.3 77 - 85 AS3661 Datasheet - D e t a i l e d D e s c r i p t i o n External trigger input signal must stay low for at least two 32 kHz clock cycles to be executed. Trigger output signal is three 32 kHz clock cycles long. External trigger signal is active low, i.e. when trigger is send/received the pin is pulled to GND. Sent external trigger is masked, i.e. the device which has sent the trigger will not recognize it. If send and wait external trigger are used on the same instruction, the send external trigger is executed first, then the wait external trigger. COMPILER COMMAND SYNTAX: TRG, wait for trigger[6], send a trigger[6] 8.14.6.1 TRG Application Example In this example we want to wait/receive a trigger from program execution engine 1. COMPILER COMMAND SYNTAX EXAMPLE: TRG, 2, 0; 8.14.7 JNE/JL/JGE/JE AS3661 instruction set includes the following conditional jump instructions: jne (jump if not equal); jge (jump if greater or equal); jl (jump if less); je (jump if equal). If the condition is true a certain number of instructions will be skipped (i.e. the program jumps forward to a location relative to the present location). If condition is false then the next instruction will be executed. COMPILER COMMAND SYNTAX: JNE, number of instructions...[5], Variable1[2], Variable2[2]; COMPILER COMMAND SYNTAX: JL, number of instructions...[5], Variable1[2], Variable2[2]; COMPILER COMMAND SYNTAX: JGE, number of instructions...[5], Variable1[2], Variable2[2]; COMPILER COMMAND SYNTAX: JE, number of instructions...[5], Variable1[2], Variable2[2]; 8.14.7.1 JNE Application Example In the following example we compare local variable A with local variable B. If the value of the two registers is not equal the command will skip three instructions. COMPILER COMMAND SYNTAX EXAMPLE: JNE, 3, 0,1; Table 89. TRG Parameter Description Name Value Description wait for trigger 0-31 Wait for trigger from the engine(s). Several triggers can be defined in the same instruction. Bit [7] engages engine 1, bit [8] engine 2, bit [9] engine 3 and bit [12] is for external trigger I/O. Bits [10] and [11] are not in use. send a trigger 0-31 Send a trigger to the engine(s). Several triggers can be defined in the same instruction. Bit [1] engages engine 1, bit [2] engine 2, bit [3] engine 3 and bit [6] is for external trigger I/O. Bits [4] and [5] are not in use. Table 90. JNE/JL/JGE/JE Parameter Description Name Value Description number of instructions to be skipped if the operation returns true. 0-31 The number of instructions to be skipped when the statement is true. Note: value 0 means redundant code. Variable1 0-3 Defines the variable to be used in the test: 0 local variable A 1 local variable B 2 global variable C3 register address 3CH variable, or register address 42H value Variable2 0-3 Defines the variable to be used in the test: 0 local variable A 1 local variable B 2 global variable C3 register address 3CH variable, or register address 42H value |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |