/* This API write the data to the given register.  */
BMP280_RETURN_FUNCTION_TYPE bmp280_write_register(u8 v_addr_u8, u8 *v_data_u8, u8 v_len_u8)
/* This API write the data to the given register.  */
BMP280_RETURN_FUNCTION_TYPE bmp280_write_register(u8 v_addr_u8, u8 *v_data_u8, u8 v_len_u8)
{
	BMP280_RETURN_FUNCTION_TYPE com_rslt = ERROR;
	if (p_bmp280 == BMP280_NULL) {
		com_rslt = E_BMP280_NULL_PTR;
	} else {
		com_rslt = p_bmp280->BMP280_BUS_WRITE_FUNC(p_bmp280->dev_addr,
				v_addr_u8, v_data_u8, v_len_u8);
	}
	return com_rslt;
}