/* Used to reset the sensor The value 0xB6 is written to the 0xE0 register the device is reset using the complete power-on-reset procedure. Soft reset can be easily set using bmp280_set_softreset().  */
BMP280_RETURN_FUNCTION_TYPE bmp280_set_soft_rst(void)
/* Used to reset the sensor The value 0xB6 is written to the 0xE0 register the device is reset using the complete power-on-reset procedure. Soft reset can be easily set using bmp280_set_softreset().  */
BMP280_RETURN_FUNCTION_TYPE bmp280_set_soft_rst(void)
{
	BMP280_RETURN_FUNCTION_TYPE com_rslt = ERROR;
	u8 v_data_u8 = BMP280_SOFT_RESET_CODE;
	if (p_bmp280 == BMP280_NULL) {
		com_rslt = E_BMP280_NULL_PTR;
	} else {
		com_rslt = p_bmp280->BMP280_BUS_WRITE_FUNC(p_bmp280->dev_addr,
				BMP280_RST_REG, &v_data_u8,
				BMP280_GEN_READ_WRITE_DATA_LENGTH);
	}
	return com_rslt;
}