使用TM4C1294 LuanchPad的I2C调试AD5934时,从机地址后需要连续写入两次数据,
对于void I2CMasterControl(uint32_t ui32Base, uint32_t ui32Cmd)这个函数的使用不是很明白。
下图是TivaWare Peripheral Driver Library里的例子。
下面是我根据上图改的程序,但是数据没有写进AD5934的寄存器中去。
麻烦大神们帮忙看看应该怎么改,跪谢!!
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.