Thanks you igorpadykov for answering.
Yes, I understood I had to use the 9.2.3 section. Yet, it seems to me that we need an extra parameter, to specify the i2c bus adress. Hereafter is the function I wrote, wich is not compatible with the HTS221_ReadReg macro used in the ST driver. How can I do to avoid this extra parameter ? Using global variable ?
HTS221_Error_et IMX_HTS221_ReadReg(I2C_Type* base, uint8_t RegAddr, uint16_t NumByteToRead, uint8_t* Data) {
/*
Following instructions of FreeRTOS_BSP_i.MX6SoloX_API_Reference_Manual.pdf
*/
uint8_t writeBytes[2];
HTS221_Error_et status = HTS221_OK;
/* Clear I2C interrupt flag to avoid spurious interrupt */
I2C_ClearStatusFlag(base, i2cStatusInterrupt);
/* setting RX mode */
I2C_SetDirMode(base, i2cDirectionReceive);
// setting master mode to send start signal
I2C_SetWorkMode(base,i2cModeMaster);
/* Change to receive state. */
I2C_SetDirMode(base, i2cDirectionReceive);
*Data = I2C_ReadByte(base);
// Will be modified later :
return(true);
}