データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

AN3393 データシート(PDF) 73 Page - STMicroelectronics

部品番号 AN3393
部品情報  This document is intended to provide information
PDF  103 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
メーカー  STMICROELECTRONICS [STMicroelectronics]
ホームページ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3393 データシート(HTML) 73 Page - STMicroelectronics

Back Button AN3393 Datasheet HTML 69Page - STMicroelectronics AN3393 Datasheet HTML 70Page - STMicroelectronics AN3393 Datasheet HTML 71Page - STMicroelectronics AN3393 Datasheet HTML 72Page - STMicroelectronics AN3393 Datasheet HTML 73Page - STMicroelectronics AN3393 Datasheet HTML 74Page - STMicroelectronics AN3393 Datasheet HTML 75Page - STMicroelectronics AN3393 Datasheet HTML 76Page - STMicroelectronics AN3393 Datasheet HTML 77Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 103 page
background image
DocID018750 Rev 4
73/103
AN3393
Axis mask filter
103
case of two axes triggering the state machine at the same time, the temporary output mask
selects only the first axis by following the order: X, Y, Z and V. Once the axis has been
selected it remains the only one considered until the state machine program restarts (after
the END state or a RESET condition). An example of how the temporary mask is updated
and how its value affects the state machine is shown in Figure 14.
Figure 14. Temporary mask example
The example of Figure 14 starts with the following settings:
–
MASK1 = F0h (+-x enabled, +-y enabled);
–
ABS = 0 in SETT1 register (unsigned threshold);
–
TMASK1 = 0 (temporary mask default value).
Moreover, the R_TAM bit in the SETT1 register is set to 0, so that the mask is frozen on the
axis that triggers the condition.
In the first phase (State 1), the NEXT condition (GNTH1 in this case) is evaluated on all the
axes specified by MASK1 (in this case: +-x and +-y). At the beginning, both X and Y are
lower than threshold 1, but after a while, acceleration on the Y-axis exceeds threshold 1. So,
the value +y is stored in the temporary mask, and the state machine is triggered on this axis
in the following conditions.
In the second phase (State 2), a “lower than threshold 1” condition is evaluated. This
condition is evaluated just on the positive Y-axis regardless of whether the acceleration on
the X-axis is lower than threshold 1. This is because TMASK = +y and the R_TAM bit was
set to 0 in the SETT1 register.
Note that if the R_TAM bit was set to 1 (instead of 0), then the condition LNTH1 would be
valid on the first sample evaluated in the second phase (State 2). In fact, when the R_TAM
bit is 1, the standard mask (MASK1) is always evaluated regardless of the value in the
temporary mask.
AM14780V1



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


データシート ダウンロード

Go To PDF Page


リンク URL



ALLDATASHEETはお客様のビジネスに役立ちますか?  [ DONATE ] 

Alldatasheetは   |   広告   |   お問い合わせ   |   プライバシーポリシー   |   データシートへのリンク    |   リンク交換   |   メーカーリスト
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