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.

TAS5825M: Need help understanding .h file from PPC3

Part Number: TAS5825M

Hi team,

I have been using PPC3 to tune my product. However, I need to port the I2C write functions that the tool is using to my microcontroller. The end goal is to be able to have my microcontroller writing all the same commands that PPC3 is writing. 

I was able to generate a .h file through the End System Integration option in PPC3. However, I am having trouble understanding the structure of the code and how to port that code over to our microcontroller IDE. I’m not sure how the unions are being used in tandem with the registers array. Would you be able to help me better understand the flow of the example code, as well as what the best approach is to move the example file into our IDE?

Thanks,

Brian Angiel