Initial commit

This commit is contained in:
2025-05-02 15:37:54 +03:00
parent aedf153597
commit 795c9e0a90
2 changed files with 45 additions and 0 deletions

39
Inc/DS_INA226.h Normal file
View File

@@ -0,0 +1,39 @@
#ifndef DS_INA226_H
#define DS_INA226_H
#include <stdbool.h>
#ifdef STM32G030xx
#include "stm32g0xx_hal.h"
#endif
#ifdef STM32F030xx
#include "stm32f0xx_hal.h"
#endif
#ifdef STM32F103xB
#include "stm32f1xx_hal.h"
#endif
typedef struct DS_INA226
{
// SPI_HandleTypeDef* SPI;
// char DisplayData[8];
// uint8_t Dots;
// uint8_t DecodeMode, Intensivity, ScanLimit;
// bool EnableDecodeMode;
// GPIO_TypeDef* Port_CS;
// uint16_t Pin_CS;
}DS_INA226;
void DS_INA226_Init(void);
#endif //DS_INA226_H

6
Src/DS_INA226.c Normal file
View File

@@ -0,0 +1,6 @@
#include "../../Inc/DS_INA226.h"
void DS_INA226_Init(void)
{
}