代码是这样
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);
如果是发其他指令
代码是这样
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);
如果是发其他指令