/* This API reads the data from the given register.  */
BMG160_RETURN_FUNCTION_TYPE bmg160_burst_read(u8 v_addr_u8, u8 *v_data_u8, u32 v_len_u32)
/* This API reads the data from the given register.  */
BMG160_RETURN_FUNCTION_TYPE bmg160_burst_read(u8 v_addr_u8, u8 *v_data_u8, u32 v_len_u32)
{
    BMG160_RETURN_FUNCTION_TYPE comres = ERROR;
    if (p_bmg160 == BMG160_NULL)
    {
        return  E_BMG160_NULL_PTR;
    }
    else
    {
        comres = p_bmg160->BMG160_BURST_READ_FUNC(p_bmg160->dev_addr,
                 v_addr_u8, v_data_u8, v_len_u32);
    }
    return comres;
}