Добавлены интерфейсы и драйверы

This commit is contained in:
cfif 2025-09-29 11:21:52 +03:00
commit a60634c706
3 changed files with 56 additions and 0 deletions

15
Gpios.c Normal file
View File

@ -0,0 +1,15 @@
//
// Created by cfif on 05.05.23.
//
#include "Gpios.h"
#include "SystemDelayInterface.h"
tGpios GPIOS;
void Gpios_Init() {
tGpios *env = &GPIOS;
}

19
Gpios.h Normal file
View File

@ -0,0 +1,19 @@
//
// Created by cfif on 05.05.23.
//
#ifndef HVAC_M7_GPIOS_H
#define HVAC_M7_GPIOS_H
#include "GpioPin.h"
//#include "PowerManagement.h"
typedef struct {
} tGpios;
extern tGpios GPIOS;
void Gpios_Init();
#endif //HVAC_M7_GPIOS_H

22
modular.json Normal file
View File

@ -0,0 +1,22 @@
{
"dep": [
{
"type": "git",
"provider": "HVAC_M7",
"repo": "GpioPin_Flagchip_FC7240"
},
{
"type": "git",
"provider": "HVAC_M7",
"repo": "SystemDelay_CMSIS_RTOS"
}
],
"cmake": {
"inc_dirs": [
"./"
],
"srcs": [
"Gpios.c"
]
}
}