added spi transfer modes

This commit is contained in:
2021-06-03 21:53:52 +02:00
parent 66a7a4dbbe
commit ff7421e1dd
3 changed files with 11 additions and 2 deletions

View File

@ -8,6 +8,12 @@
namespace spi {
enum TransferModes {
POLLING,
INTERRUPT,
DMA
};
void assignSpiMode(SpiModes spiMode, SPI_HandleTypeDef* spiHandle);
/**