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.

circular buffers in C



Hello,

I have not been able to find an example or documentation that shows how to configure and use circular buffers in C.  I understand that the pragma DATA_ALIGN can be  used to align the circular buffer in C, and the AMR register manipulated too.  But how to setup and use pointers to the circular buffer in C, instead of having to manipulate A4, B4, etc in assembly?

Thanks,

Robert

P.S.  Processor is C6748.