|
最近在用STM32F103开发板自带的SPI采集ADIS16405的数据,通过SPI发送寄存器地址之后,判断接收缓冲区非空后是不是可以直接读出数据了??? (Individual register reads require two such 16-bit sequences. The first 16-bit sequence provides the read command bit (R/W = 0) and the target register address (A6 to A0). The second sequence transmits the register contents (D15 to D0) on the DOUT line.)对于这段话我的理解是:第一个16位序列发送命令和地址,接着下一个16位序列数据就通过SPI送到接收缓冲区。如果缓冲区非空读出来不就是要读取的数据嘛??? |
|