| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
AN3393 bảng dữ liệu(PDF) 73 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3393 bảng dữ liệu(HTML) 73 Page - STMicroelectronics |
|
73 / 103 page ![]() 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 |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |