6.5
Single, Double and Directional Pulse-Detection Registers
For more details of how to configure the pulse detection and sample code, please refer to Freescale application note, AN4072.
The pulse-detection registers are referred to as “Pulse”.
0x21: PULSE_CFG Pulse Configuration Register
This register configures the event flag for the pulse detection for enabling/disabling the detection of a single and double pulse
on each of the axes.
0x21: PULSE_CFG Register (Read/Write)
Bit 7
DPA
Bit 6
ELE
Bit 5
ZDPEFE
Bit 4
ZSPEFE
Bit 3
YDPEFE
Bit 2
YSPEFE
Bit 1
XDPEFE
Bit 0
XSPEFE
Table 36. PULSE_CFG Description
Double Pulse Abort. Default value: 0.
DPA
ELE
ZDPEFE
ZSPEFE
YDPEFE
YSPEFE
XDPEFE
XSPEFE
0: Double Pulse detection is not aborted if the start of a pulse is detected during the time period specified by the PULSE_LTCY register.
1: Setting the DPA bit momentarily suspends the double pulse detection if the start of a pulse is detected during the time period
specified by the PULSE_LTCY register and the pulse ends before the end of the time period specified by the PULSE_LTCY register.
Pulse event flags are latched into the PULSE_SRC register. Reading of the PULSE_SRC register clears the event flag.
Default value: 0.
0: Event flag latch disabled; 1: Event flag latch enabled
Event flag enable on double pulse event on Z-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
Event flag enable on single pulse event on Z-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
Event flag enable on double pulse event on Y-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
Event flag enable on single pulse event on Y-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
Event flag enable on double pulse event on X-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
Event flag enable on single pulse event on X-axis. Default value: 0.
0: Event detection disabled; 1: Event detection enabled
0x22: PULSE_SRC Pulse Source Register
This register indicates a double or single pulse event has occurred and also which direction. The corresponding axis and event
must be enabled in Register 0x21 for the event to be seen in the source register.
0x22: PULSE_SRC Register (Read Only)
Bit 7
EA
Bit 6
AxZ
Bit 5
AxY
Bit 4
AxX
Bit 3
DPE
Bit 2
PolZ
Bit 1
PolY
Bit 0
PolX
Table 37. PULSE_SRC Description
EA
AxZ
AxY
AxX
DPE
PolZ
PolY
PolX
Event Active Flag. Default value: 0.
(0: No interrupt has been generated; 1: One or more interrupt events have been generated)
Z-axis event. Default value: 0.
(0: No interrupt; 1: Z-axis event has occurred)
Y-axis event. Default value: 0.
(0: No interrupt; 1: Y-axis event has occurred)
X-axis event. Default value: 0.
(0: No interrupt; 1: X-axis event has occurred)
Double pulse on first event. Default value: 0.
(0: Single Pulse Event triggered interrupt; 1: Double Pulse event triggered interrupt)
Pulse polarity of Z-axis Event. Default value: 0.
(0: Pulse Event that triggered interrupt was Positive; 1: Pulse Event that triggered interrupt was negative)
Pulse polarity of Y-axis Event. Default value: 0.
(0: Pulse Event that triggered interrupt was Positive; 1: Pulse Event that triggered interrupt was negative)
Pulse polarity of X-axis Event. Default value: 0.
(0: Pulse Event that triggered interrupt was Positive; 1: Pulse Event that triggered interrupt was negative)
When the EA bit gets set while ELE = 1, all status bits (AxZ, AxY, AxZ, DPE, and PolX, PolY, PolZ) are frozen. Reading the
PULSE_SRC register clears all bits. Reading the source register will clear the interrupt.
MMA8452Q
Sensors
32
Freescale Semiconductor, Inc.
相关PDF资料
MMA8453QR1 IC ACCELER 2G/4G/8G 3AXIS 16QFN
MMBF0201NLT1 MOSFET N-CH 20V 300MA SOT-23
MMBF170-7 MOSFET N-CH 60V 500MA SOT23-3
MMBF170LT1 MOSFET N-CH 60V 500MA SOT-23
MMBF170 MOSFET N-CH 60V 500MA SOT-23
MMBF2201NT1 MOSFET N-CH 20V 300MA SOT-323
MMBF2202PT1 MOSFET P-CH 20V 300MA SOT-323
MMDF1N05ER2G MOSFET N-CHAN DUAL 2A 50V 8SOIC
相关代理商/技术参数
MMA8452QT 功能描述:加速计 - 板上安装 LOW G 3-AXIS 12BT EX VLT RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA8453Q 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Xtrinsic MMA8453Q 3-Axis, 10-bit/8-bit Digital Accelerometer
MMA8453QR1 功能描述:加速计 - 板上安装 LOW G 3-AXIS DGTL ACCEL RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA8453QT 功能描述:加速计 - 板上安装 LOW G 3-AXIS DGTL ACCEL RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA8491Q 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Xtrinsic MMA8491Q 3-Axis Multifunction Digital Accelerometer
MMA8491QR1 功能描述:加速计 - 板上安装 3-Axis Low Voltage Discrete Tilt Sensor RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA8491QT 功能描述:加速计 - 板上安装 3-Axis Low Voltage Discrete Tilt Sensor RoHS:否 制造商:Murata 传感轴:Double 加速:12 g 灵敏度: 封装 / 箱体: 输出类型:Analog 数字输出 - 位数:11 bit 电源电压-最大:5.25 V 电源电压-最小:4.75 V 电源电流:4 mA 最大工作温度:+ 125 C 最小工作温度:- 40 C
MMA8652FC 制造商:FREESCALE 制造商全称:Freescale Semiconductor, Inc 功能描述:Xtrinsic MMA8652FC 3-Axis, 12-bit Digital Accelerometer