added spi code for linux

This commit is contained in:
2021-04-01 10:59:23 +02:00
parent 28004f866a
commit 8f3b0eccdb
12 changed files with 766 additions and 0 deletions

View File

@ -0,0 +1,17 @@
#ifndef LINUX_SPI_SPIDEFINITONS_H_
#define LINUX_SPI_SPIDEFINITONS_H_
#include <cstdint>
namespace spi {
enum SpiModes: uint8_t {
MODE_0,
MODE_1,
MODE_2,
MODE_3
};
}
#endif /* LINUX_SPI_SPIDEFINITONS_H_ */