/* This API read tap-sign, tap-first-xyz slope-sign, slope-first-xyz status register byte from location 0Bh.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_intr_tap_stat(u8 *stat_tap_u8)
/* This API read tap-sign, tap-first-xyz slope-sign, slope-first-xyz status register byte from location 0Bh.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_intr_tap_stat(u8 *stat_tap_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_STAT_TAP_SLOPE_ADDR,
                    stat_tap_u8, BMA2x2_GEN_READ_WRITE_LENGTH);
    }
    return com_rslt;
}