Electronic Components Datasheet Search
  Indian  ▼
ALLDATASHEET.IN

X  

AS3661 Datasheet(PDF) 76 Page - ams AG

Part # AS3661
Description  Programmable 9-channel LED Dr iver
PDF  87 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  AMSCO [ams AG]
Direct Link  http://www.ams.com
Logo AMSCO - ams AG

AS3661 Datasheet(HTML) 76 Page - ams AG

Back Button AS3661 Datasheet HTML 72Page - ams AG AS3661 Datasheet HTML 73Page - ams AG AS3661 Datasheet HTML 74Page - ams AG AS3661 Datasheet HTML 75Page - ams AG AS3661 Datasheet HTML 76Page - ams AG AS3661 Datasheet HTML 77Page - ams AG AS3661 Datasheet HTML 78Page - ams AG AS3661 Datasheet HTML 79Page - ams AG AS3661 Datasheet HTML 80Page - ams AG Next Button
Zoom Inzoom in Zoom Outzoom out
 76 / 87 page
background image
www.austriamicrosystems.com
Revision 1.3
75 - 85
AS3661
Datasheet - D e t a i l e d D e s c r i p t i o n
8.14 Branch Instructions
8.14.1 RST
RST instruction resets Program Counter register (address 37H, 38H, or 39H) and continues executing the program
from the program start address defined in 4C-4E. Instruction takes sixteen 32 kHz clock cycles.
COMPILER COMMAND SYNTAX: RST;
This command doesn’t support any parameters.
Note: The default value for all program memory registers is 0000H, which is the RST instruction.
8.14.2 BRANCH (Numerical)
Branch instruction is mainly indented for repeating a portion of the program code several times. Branch instruction
loads step number value to program counter. Loop count parameter defines how many times the instructions inside the
loop are repeated. AS3661 supports nested looping i.e. loop inside loop. The number of nested loops is not limited.
Instruction takes sixteen 32 kHz clock cycles.
COMPILER COMMAND SYNTAX: BRN, loop count[6], step number[7];
8.14.2.1 BRN Application Example
In this application example we would like to create an infinite loop, which means the loop will never stop. The code we
want to repeat has a start address of 10d. At the end of the code we want to repeat we put the BRN command with the
program counter address 10d. Once the program execution engine executes the BRN command the program counter
jumps back to address 10d and starts executing the code from this address until it reaches again the BRN command.
COMPILER COMMAND SYNTAX: EXAMPLE: BRN, 0, 10;
Figure 35. BRN Example for execution engine 1
Table 86. BRN Parameter Description
Name
Accepted Value
Description
loop count
0-63
The number of loops to be done. 0 means an infinite loop
step number
0-95
The step number to be loaded to program counter



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87


Datasheet Download

Go To PDF Page


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


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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