05.12.2012 Views

Xtrinsic MMA8653FC 3-Axis, 10-bit Digital Accelerometer - Freescale

Xtrinsic MMA8653FC 3-Axis, 10-bit Digital Accelerometer - Freescale

Xtrinsic MMA8653FC 3-Axis, 10-bit Digital Accelerometer - Freescale

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.8.5 0x2E: CTRL_REG5, Interrupt Configuration Register (Read/Write)<br />

This register maps the desired interrupts to INT2 or INT1.<br />

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0<br />

INT_CFG_ASL — — INT_CFG_LNDP — INT_CFG_FF_M 0 INT_CFG_DRD<br />

<strong>MMA8653FC</strong><br />

Figure 42. 0x2E: CTRL_REG5, Interrupt Configuration Register<br />

Table 41. CTRL_REG5 register<br />

Field Description<br />

INT_CFG_ASLP Auto-SLEEP/WAKE INT1/INT2 Configuration<br />

INT_CFG_LNDPRT Orientation INT1/INT2 Configuration<br />

INT_CFG_FF_MT Freefall/motion INT1/INT2 Configuration<br />

INT_CFG_DRDY Data Ready INT1/INT2 Configuration<br />

0 Interrupt is routed to INT2 pin (default)<br />

1 Interrupt is routed to INT1 pin<br />

The system’s interrupt controller shown in Figure <strong>10</strong> "System interrupt generation" uses the corresponding <strong>bit</strong> field in the<br />

CTRL_REG5 register to determine the routing table for the INT1 and INT2 interrupt pins. If the <strong>bit</strong> value is logic ‘0’ the functional<br />

block’s interrupt is routed to INT2, and if the <strong>bit</strong> value is logic ‘1’ then the interrupt is routed to INT1. One or more functions can<br />

assert an interrupt pin; therefore a host application responding to an interrupt should read the INT_SOURCE (0x0C) register to<br />

determine the appropriate sources of the interrupt.<br />

Sensors<br />

46 <strong>Freescale</strong> Semiconductor, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!