代码是这样
TI_TDC720x_SPIByteWriteReg(0x00, 0x03, TDC720x_TDC1);
__delay_cycles(10000);
START_SEND();
__delay_cycles(300000);
STOP_SEND();
clk_count = TI_TDC720x_SPIByteReadReg(0x00, TDC720x_TDC1);
如果是发其他指令
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.
代码是这样
TI_TDC720x_SPIByteWriteReg(0x00, 0x03, TDC720x_TDC1);
__delay_cycles(10000);
START_SEND();
__delay_cycles(300000);
STOP_SEND();
clk_count = TI_TDC720x_SPIByteReadReg(0x00, TDC720x_TDC1);
如果是发其他指令