数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

AN3308 数据表(PDF) 23 Page - STMicroelectronics

部件名 AN3308
功能描述  This document describes the low-voltage 3-axis digital output linear MEMS accelerometer provided in an LGA package
PDF  52 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

AN3308 数据表(HTML) 23 Page - STMicroelectronics

Back Button AN3308 Datasheet HTML 19Page - STMicroelectronics AN3308 Datasheet HTML 20Page - STMicroelectronics AN3308 Datasheet HTML 21Page - STMicroelectronics AN3308 Datasheet HTML 22Page - STMicroelectronics AN3308 Datasheet HTML 23Page - STMicroelectronics AN3308 Datasheet HTML 24Page - STMicroelectronics AN3308 Datasheet HTML 25Page - STMicroelectronics AN3308 Datasheet HTML 26Page - STMicroelectronics AN3308 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 52 page
background image
AN3308
Inertial interrupt
Doc ID 18198 Rev 1
23/52
6.3.1
Inertial wake-up
Wake-up interrupt refers to a specific configuration of the INT1_CTRL register that allows
interrupt generation when the acceleration on the configured axis exceeds a defined
threshold (Figure 9).
Figure 9.
Inertial wake-up interrupt
6.3.2
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 the X or Y axis exceeds a preset threshold (250
mg used in the example). The event which triggers the interrupt is latched inside the device
and its occurrence is signalled through the use of the INT1 pin.
1
Write A7h into CTRL_REG1
// Turn on the sensor and enable X, Y, and Z
// ODR = 100 Hz
2
Write 00h into CTRL_REG2
// High-pass filter disabled
3
Write 40h into CTRL_REG3
// Interrupt driven to INT1 pad
4
Write 00h into CTRL_REG4
// FS = 2 g
5
Write 08h into CTRL_REG5
// Interrupt latched
6
Write10h into INT1_THS
// Threshold = 250 mg
7
Write 00h into INT1_DURATION
// Duration = 0
8
Write 0Ah into INT1_CFG
// Enable XH and YH interrupt generation
9
Poll INT1 pad; if INT1=0 then go to 8
// Poll RDY/INT pin waiting for the
// wake-up event
10
Read INT1_SRC
// Return the event that has triggered the
// interrupt
11
(Wake-up event has occurred; insert
your code here)
// Event handling
12
Go to 8



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


数据表 下载

Go To PDF Page


链接网址



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