Code: Select all
status = HAL_SPI_Transmit_DMA(self->spi, (uint8_t*)src, len);
if (status == HAL_OK) {
status = spi_wait_dma_finished(self->spi, timeout);
}
Code: Select all
status = HAL_SPI_Transmit_DMA(self->spi, (uint8_t*)src, len);
if (status == HAL_OK) {
status = spi_wait_dma_finished(self->spi, timeout);
}
yeah, me too.dhylands wrote: I would also like to see an option for async I/O (I2C, SPI, UART) where some type of completion callback occurs when the I/O has "finished".