I2s_write - how to get the "transfer complete" flag?

The_YongGrand
Posts: 19
Joined: Fri Nov 04, 2016 1:14 am

I2s_write - how to get the "transfer complete" flag?

Postby The_YongGrand » Fri Jan 11, 2019 5:32 am

As the title said, I have placed an i2s_write in a task, and I want the task to wait for the transfer to complete. Is there a flag or a variable or a semaphore where I can see or get so that the particular task can wait for the transfer to complete?

From what I seen in the forum, I read that the i2s_write has all of these covered, but I'm porting a little program from Teensy where it need to wait for the transfer to complete before doing something.

Who is online

Users browsing this forum: Bing [Bot], cdollar, MicroController and 196 guests