| Electronic Components Datasheet Search |
|
AS3661 Datasheet(PDF) 77 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3661 Datasheet(HTML) 77 Page - ams AG |
|
77 / 87 page ![]() www.austriamicrosystems.com Revision 1.3 76 - 85 AS3661 Datasheet - D e t a i l e d D e s c r i p t i o n 8.14.3 BRANCH (Variables) The BRANCH command for variables has basically the same functionality like the numerical command. The only difference is that the loop count is controlled with variables instead of having a fixed number. COMPILER COMMAND SYNTAX: BRV, step number[7], loop count[2]; 8.14.4 INT Send interrupt to processor by pulling the INT pin down and setting corresponding status bit high. Interrupt can be cleared by reading interrupt bits in STATUS/INTERRUPT register at address 3A. COMPILER COMMAND SYNTAX: INT; This command doesn’t support any parameters. 8.14.5 END End program execution. Instruction takes sixteen 32 kHz clock cycles. COMPILER COMMAND SYNTAX: END, int[1], Reset[1]; 8.14.5.1 END Application Example The example code below sends an interrupt to the processor and resets the program counts to 0. The program execution engine is set on hold. COMPILER COMMAND SYNTAX EXAMPLE: END, 1, 0; 8.14.6 TRIGGER Wait or send triggers can be used to e.g. synchronize operation between the program execution engines. Send trigger instruction takes sixteen 32 kHz clock cycles and wait for trigger takes at least sixteen 32 kHz clock cycles. The receiving engine stores the triggers which have been sent. Received triggers are cleared by wait for trigger instruction. Wait for trigger instruction is executed until all the defined triggers have been received (note: several triggers can be defined in the same instruction). Table 87. BRN Parameter Description Name Accepted Value Description step number 0-95 The step number to be loaded to program counter loop count 0-3 Selects the variable for step number value. Step number is loaded with the value of the variable defined below 0 local variable A 1 local variable B 2 local variable C 3 register address 3CH variable D value, or register address 42H value Table 88. END Parameter Description Name Value Description int 0 No interrupt will be sent. PWM register values will remain intact. 1 Reset program counter value to 0 and send interrupt to processor by pulling the INT pin down and setting corresponding status bit high to notify that program has ended. PWM register values will remain intact. Interrupt can be cleared by reading interrupt bits in STATUS/INTERRUPT register at address 3A. Reset 0 Reset program counter value to 0 and hold. PWM register values will remain intact. 1 Reset program counter value to 0 and hold. PWM register values of the non-mapped drivers will remain. PWM register values of the mapped drivers will be set to "0000 0000". On completion of int instruction with this bit set to "1" the master fader registers are set to zero as follows: Program execution engine 1 sets MASTER FADER 1 (48H) to zero, engine 2 sets MASTER FADER 2 (49H) to zero and engine 3 sets MASTER FADER 3 (4AH) to zero. |
|
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 |