Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3393 Datasheet(PDF) 62 Page - STMicroelectronics

Part # AN3393
Description  This document is intended to provide information
PDF  103 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3393 Datasheet(HTML) 62 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 58Page - STMicroelectronics AN3393 Datasheet HTML 59Page - STMicroelectronics AN3393 Datasheet HTML 60Page - STMicroelectronics AN3393 Datasheet HTML 61Page - STMicroelectronics AN3393 Datasheet HTML 62Page - STMicroelectronics AN3393 Datasheet HTML 63Page - STMicroelectronics AN3393 Datasheet HTML 64Page - STMicroelectronics AN3393 Datasheet HTML 65Page - STMicroelectronics AN3393 Datasheet HTML 66Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 62 / 103 page
background image
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.



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 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


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