This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/TM4C129ENCPDT: I2C_transfer in non-task function

Part Number: TM4C129ENCPDT

Tool/software: TI-RTOS

Hello Guys,

I read in user guide that its not possible to call i2c_transfer in non task context. when I looks for the reason, it seems it use semaphore_pend internally. Hence it should be called in task context only. I needs to know if there any chance of calling i2c_transfer in non task context. like blocking all task functions and all. If its possible can someone post pseudo code for that. Our customer demands he needs them in non task context.