công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

AN2335 bảng dữ liệu(PDF) 34 Page - STMicroelectronics

tên linh kiện AN2335
Giải thích chi tiết về linh kiện  This document is intended to give application
PDF  40 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2335 bảng dữ liệu(HTML) 34 Page - STMicroelectronics

Back Button AN2335 Datasheet HTML 30Page - STMicroelectronics AN2335 Datasheet HTML 31Page - STMicroelectronics AN2335 Datasheet HTML 32Page - STMicroelectronics AN2335 Datasheet HTML 33Page - STMicroelectronics AN2335 Datasheet HTML 34Page - STMicroelectronics AN2335 Datasheet HTML 35Page - STMicroelectronics AN2335 Datasheet HTML 36Page - STMicroelectronics AN2335 Datasheet HTML 37Page - STMicroelectronics AN2335 Datasheet HTML 38Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 34 / 40 page
background image
Application Information
AN2335
34/40
FF_WU_CFG(LIR) bit permits to decide if the interrupt request has to be latched or not. If
LIR bit is ‘0’ (default value) interrupt signal goes high when the interrupt condition is satisfied
and comes back low immediately if the interrupt condition is no more verified. Otherwise if
LIR bit is ‘1’ whenever a interrupt condition is applied the interrupt signal remains high even
if the condition comes back to non-interrupt status until a reading to FF_WU_SRC register is
performed.
The remaining bits of FF_WU_CFG register permits to decide on which axis the interrupt
decision has to be performed and on which direction the threshold has to be passed to
generate the interrupt request.
9.5
INERTIAL WAKE-UP
9.5.1
HP Filter Bypassed
This paragraph provides a basic algorithm which shows the practical use of the inertial
wake-up feature. In particular, with the code below, the device is configured to recognize
when the absolute acceleration along either X or Y axis exceeds a preset threshold (180mg
used in the example). The event which triggers the interrupt is latched inside the device
using FF_WU interrupt source 1 and its occurrence is signalled through the usage of the
INT2 pin.
1
write C7h into CTRL_REG1
// Turn on the sensor and set ODR=400Hz
2
write 00h into CTRL_REG2
// Default value: High Pass filter bypassed
3
write 08h into CTRL_REG3
// FF_WU1 interrupt sent to INT2 pin
4
write 0Ah into FF_WU_THS_1 reg
// Set wake-up threshold = 180 mg
5
write 00h into FF_WU_DURATION_1 reg
// No filtering/confirmation on the event
6
write 4Ah into FF_WU_CFG_1
// Configure desired wake-up event
7
poll INT2 pin; if INT2=0 then goto 7
// Poll INT2 pin waiting for the wake-up event
8
read FF_WU_SRC_1 reg
// Return the event that has triggered the
interrupt
// Clear interrupt request
9
(Wake-up event has occurred; insert your code
here)
// Event handling
10
goto 7



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


bảng dữ liệu tải về

Go To PDF Page


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


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