| Electronic Components Datasheet Search |
|
AN3393 Datasheet(PDF) 58 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3393 Datasheet(HTML) 58 Page - STMicroelectronics |
|
58 / 103 page ![]() Operation codes AN3393 58/103 DocID018750 Rev 4 1. STOP command halts State Machine y execution: – CTRL_REG1, bit SM1_EN is set to 0 for State Machine 1; – Or CTRL_REG2, bit SM2_EN is set to 0 for State Machine 2; – Set STAT, bit SYNC1 = 0 and STAT, bit SYNC2 = 0 (synchronization is not allowed). 2. If SETTy, bit SITR = 1: – OUTSy is updated to selected temporary mask value; – Set output signal: STAT, bit INT_SMy = 1. 3. Wait for restart from host. When restart occurs: – CTRL_REG1, bit SM1_EN is set to 0 for State Machine 1; – Or CTRL_REG2, bit SM2_EN is set to 0 for State Machine 2. This command affects or is affected by the following registers: – State Machine y is enabled/disabled: CTRL_REG1, bit SM1_EN is set to 0/1 for State Machine 1 or CTRL_REG2, bit SM2_EN is set to 0/1 for State Machine 2; – SETTy, bit SITR: defines output functionality of STOP command; – OUTSy: output value of State Machine y; – STAT, bit INT_SMy: indicator of valid interrupt action; – PRy: Program and Reset pointer addresses. 6.2.2 CONT (11h) The CONT command loops execution to the beginning. This command has no parameters and it is an “Immediately executed” type. Actions: 1. If SETTy, bit SITR = 1: – OUTSy is updated to selected temporary mask value; – Set output register (and signal if selected): STAT, bit INT_SMy = 1. 2. Default initial start executed 3. Continue execution from step address PPy = 0 This command affects or is affected by the following registers: – State Machine y is enabled/disabled: CTRL_REG1, bit SM1_EN is set to 0/1 for State Machine 1. CTRL_REG2, bit SM2_EN is set to 0/1 for State Machine 2; – SETTy, bit SITR: Defines output functionality of STOP command; – OUTSy: Output value of State Machine y; – STAT, bit INT_SMy: Indicator of valid interrupt action; – PRy: Program and Reset pointer addresses. 6.2.3 JMP (22h) JMP is the conditional jump command. It has two conditions (in the 1st parameter), these two conditions refer to different jump addresses (available in the 2nd parameter): – 1st parameter: COND1 (4 bits - MSB part); condition COND2 (4 bits - LSB part); – 2nd parameter: ADD1 (4 bits - MSB part), address ADD2 (4 bits - LSB part). |
|
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 |