added spi transfer modes
This commit is contained in:
@ -8,6 +8,12 @@
|
||||
|
||||
namespace spi {
|
||||
|
||||
enum TransferModes {
|
||||
POLLING,
|
||||
INTERRUPT,
|
||||
DMA
|
||||
};
|
||||
|
||||
void assignSpiMode(SpiModes spiMode, SPI_HandleTypeDef* spiHandle);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user