EasyManua.ls Logo

Mcube MC3635 - Config Interrupt Mode; Read Raw Count Data

Mcube MC3635
20 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MC3635 3-Axis Accelerometer EV3635B Quick Start Guide and Demo
mCube Proprietary. APS-045-0018v1.2 14 / 20
© 2020 mCube Inc. All rights reserved.
threshold for each axis, and an optional “false detection count” which requires multiple
sniff detection events to occur before a wakeup condition is declared.
Configure sniff and/or mode with:
MC36XX_acc.SetSniffAndOrN(MC36XX_ANDORN_OR);
The SNIFF block supports the logical AND or OR of the X/Y/Z SNIFF wakeup flags when
generating a SNIFF wakeup interrupt.
Configure sniff delta mode with:
MC36XX_acc.SetSniffDeltaMode(MC36XX_DELTA_MODE_C2P);
C2P mode: The current sample and the immediate previous sample are subtracted
generate a delta
C2B mode: The current sample and the first sample captured when entering SNIFF
mode are subtracted to generate a delta.
4.12 CONFIG INTERRUPT MODE
Configure the interrupt mode with:
MC36XX_acc.SetINTCtrl(0,0,0,0,1);
MC36XX have 5 interrupt modes FIFO_THR | FIFO FULL | FIFO EMPTY | ACQ | WAKE.
These modes can only be enabled separately.
4.13 READ RAW COUNT DATA
Read the raw count data and SI unit measurement with:
MC36XX_acc.readRawAccel();