status_t SPI_DRV_MasterTransfer(uint32_t instance,
const uint8_t *sendBuffer,
uint8_t *receiveBuffer,
uint16_t transferByteCount);
把这个函数的的 sendBuffer 设为 NULL,就是只接收,
receiveBuffer 设为 NULL,就是只发送
Questions about YTM32B1L seires
发帖前请查看
帮助没办法联网的电脑使用YCT
帮助改进和优化YT CONFIG TOOL,有机会抽取YTM32B1ME0 EVB哦...