This commit is contained in:
cfif 2024-12-04 13:10:48 +03:00
commit 03e42f2bc2
3 changed files with 53 additions and 0 deletions

10
PwmSim68m.c Normal file
View File

@ -0,0 +1,10 @@
//
// Created by xemon on 04.01.23.
//
#include "PwmSim68m.h"
void PwmSim68_Startup(tSim68Power *env) {
GpioPinEnable(&env->gnss.power);
GpioPinEnable(&env->gnss.onOff);
}

21
PwmSim68m.h Normal file
View File

@ -0,0 +1,21 @@
//
// Created by xemon on 04.01.23.
//
#ifndef UVEOS_ON_NATION_PWMSIM68M_H
#define UVEOS_ON_NATION_PWMSIM68M_H
#include "GpioPin.h"
typedef struct {
struct {
tGpioPin onOff;
tGpioPin power;
} gnss;
} tSim68Power;
void PwmSim68_Startup(tSim68Power *env);
#endif //UVEOS_ON_NATION_PWMSIM68M_H

22
modular.json Normal file
View File

@ -0,0 +1,22 @@
{
"dep": [
{
"type": "git",
"provider": "NAVIGATOR_UVEOS_NATION_TELIT",
"repo": "GpioPinInterface"
},
{
"type": "git",
"provider": "NAVIGATOR_UVEOS_NATION_TELIT",
"repo": "SystemDelayInterface"
}
],
"cmake": {
"inc_dirs": [
"./"
],
"srcs": [
"./**.c"
]
}
}