| Electronic Components Datasheet Search |
|
AS3665 Datasheet(PDF) 54 Page - ams AG |
|
|
|||||||||||||||||||||||||||||
AS3665 Datasheet(HTML) 54 Page - ams AG |
|
54 / 78 page ![]() www.austriamicrosystems.com Revision 1.0.2 53 - 77 AS3665 Datasheet, Confidential - Prog ramming S equen ce r C o mmands With the Set PWM to variable command PWM(s) (PWM channels are connected to a sequencer as shown in section MUX tables - assignments of sequencers to channels on page 49) can be immediately forced to a value of a variable: With the GoTo Start command the program counter of the sequencer is reset to its start value: With the Branch command loops can be implemented. Loops can be nested without limits: With the Branch with variable command loops can be implemented. The number of loops are defined by a variable. Table 75. Set PWM to variable Command Set PWM to variable Command Force PWM Name Bits Bitname Parameter Description Set PWM to variable Compiler syntax: SPV, variable; D15:D2 10000100_ 011000b D1:D0 variable The content of the variable is used to set the PWM value: 0...off 255...full scale 0 variable ra 1 variable rb 2 variable rc 3 variable rd Table 76. GoTo Start Command GoTo Start Command Name Bits Bitname Parameter Description GoTo Start Compiler syntax: GTS; D15:D0 00000000_ 00000000b (0000h) Set sequencer program counter to start address if sequencer 1 then PC1 = start_addr1 if sequencer 2 then PC2 = start_addr2 if sequencer 3 then PC3 = start_addr3 Table 77. Branch Command Branch Command Name Bits Bitname Parameter Description Branch Compiler syntax: BRN, loop count, step number; D15:D13 010b D12:D7 loop count 0 infinite loops 1-63 1 to 63 loops D6:D0 step number 0-127 jump to ‘step number’ for ‘loop count’ times; sets the PC of this sequencer = ‘step number’; in the compiler ‘step number’ can be defined by a label |
|
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 |