| Electronic Components Datasheet Search |
|
AN3393 Datasheet(PDF) 62 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3393 Datasheet(HTML) 62 Page - STMicroelectronics |
|
62 / 103 page ![]() Operation codes AN3393 62/103 DocID018750 Rev 4 This command affects or is affected by the following registers: – MASKy_A and MASKy_B: Axis mask filter values – OUTSy: Output value of State Machine y – STAT, bit INT_SMy: Interrupt indicator of State Machine y – PRy: Program and Reset pointer addresses. 6.2.11 STHR2 (AAh) The STHR2 command sets the threshold1 register to a new value (1st parameter). This command is an “Immediately executed” type and it takes one parameter: – new value to be set in the THRS2_y register (8 bits). Actions: 1. STHR2 command sets the value of the THRS2_y register (on current State Machine) to one new value (8 bits - 1st parameter): – New value of THRS2_y register is valid when next step starts; – Program pointer is increased by 2 units: PPy = PPy +2. This command affects or is affected by the following registers: – PRy: Program and Reset pointer addresses; – THRS2_y: Threshold 2 limit value. 6.2.12 DEC (BBh) The DEC command decreases the long counter (LC) value and evaluates the result. This command has no parameters and it is an “Immediately executed” type. Actions: 1. If LC > 0: LC = LC – 1. 2. If LC == 0, long counter value is valid: – STAT, bit LONG = 1; – OUTSy is updated to selected temporary mask value; – Set output register (and signal if selected): STAT, bit INT_SMy = 1; – LC = -1 (inactive long counter). This command affects or is affected by the following registers: – PRy: Program and Reset pointer addresses; – LC: Long counter register; – STAT, bit LONG: Indicator flag of valid long counter; – STAT, bit INT_SMy: Interrupt indicator of State Machine y. 6.2.13 SISW (CCh) The SISW command swaps the temporary axis mask sign to the opposite sign. This command has no parameters and it is an “Immediately executed” type. |
|
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 |