Tool/software: TI-RTOS
Hi,
I am using driver calls from the location <tirtos_install>/products/tidrivers_<version>/packages/ti/drivers, Its mention in TI RTOS user guide that the driver calls are thread safe.
I am using a function like below which calls I2C driver function calls,
i2cWrite()
{
I2C_Params_init(&stI2cParams);
stI2cHandle = I2C_open(stI2cConfig->vui8I2cBus, &stI2cParams);
I2C_transfer(stI2cHandle, &stI2cTransaction)
I2C_close(stI2cHandle);
}
Question:
1.Is the safe thread mechanism is implemented for each function individually or a single safe thread for all the function in I2C driver.
2.What will happen if I again create a safe thread for i2cWrite function.
Regards,
Manohar