// // Created by ilya on 25.03.24. // #ifndef SMART_COMPONENTS_SPIPORTS_H #define SMART_COMPONENTS_SPIPORTS_H #include "SpiPortArtery.h" //Пины акселерометра typedef struct { tGpioPin spiChipSelect; //Чипселект tGpioPin int1;//INT1 tGpioPin int2;//INT2 } tAccelPins; typedef struct { tSpiPortArtery accelSpi2; tSpiPortIO accelSpi2_IO; } tSpiPorts; typedef struct { tGpioPin spiChipSelect; } tFlashPins; extern tSpiPorts SPI_PORTS; void SpiPorts_Init(tAccelPins *accelPins); #endif //SMART_COMPONENTS_SPIPORTS_H