/* This API reads fifo overrun and fifo frame counter status register byte from location 0Eh.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_fifo_stat(u8 *stat_fifo_u8)
/* This API reads fifo overrun and fifo frame counter status register byte from location 0Eh.  */
BMA2x2_RETURN_FUNCTION_TYPE bma2x2_get_fifo_stat(u8 *stat_fifo_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_FIFO_ADDR,
                       stat_fifo_u8, BMA2x2_GEN_READ_WRITE_LENGTH);
    }
    return com_rslt;
}