HVAC_DEV_SpiPorts/SpiPorts.h

23 lines
414 B
C

//
// Created by ilya on 25.03.24.
//
#ifndef SMART_COMPONENTS_SPIPORTS_H
#define SMART_COMPONENTS_SPIPORTS_H
#include "SpiPortArtery.h"
typedef struct {
tGpioPin spi1ChipSelect;
} tSpiChipSelectPins;
typedef struct {
tSpiPortArtery Spi1;
tSpiPortIO Spi1_IO;
} tSpiPorts;
extern tSpiPorts SPI_PORTS;
void SpiPorts_Init(tSpiChipSelectPins *SpiChipSelectPins);
#endif //SMART_COMPONENTS_SPIPORTS_H