/* This API read interrupt status of flat, orient, single tap, double tap, slow no motion, slope, highg and lowg from location 09h.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_intr_stat(u8 *intr_stat_u8)
/* This API read interrupt status of flat, orient, single tap, double tap, slow no motion, slope, highg and lowg from location 09h.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_intr_stat(u8 *intr_stat_u8)
{
    BMA2x2_RETURN_FUNCTION_TYPE com_rslt = ERROR;
    if (p_bma2x2 == BMA2x2_NULL)
    {
        return E_BMA2x2_NULL_PTR;
    }
    else
    {
        com_rslt = p_bma2x2->BMA2x2_BUS_READ_FUNC(
                       p_bma2x2->dev_addr,
                       BMA2x2_STAT1_ADDR, intr_stat_u8,
                       BMA2x2_SHIFT_FOUR_BITS);
    }
    return com_rslt;
}