From 03e42f2bc2dc077ea5e38a870aac5561e1b06d94 Mon Sep 17 00:00:00 2001 From: cfif Date: Wed, 4 Dec 2024 13:10:48 +0300 Subject: [PATCH] Init --- PwmSim68m.c | 10 ++++++++++ PwmSim68m.h | 21 +++++++++++++++++++++ modular.json | 22 ++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 PwmSim68m.c create mode 100644 PwmSim68m.h create mode 100644 modular.json diff --git a/PwmSim68m.c b/PwmSim68m.c new file mode 100644 index 0000000..9c000af --- /dev/null +++ b/PwmSim68m.c @@ -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); +} diff --git a/PwmSim68m.h b/PwmSim68m.h new file mode 100644 index 0000000..614dca9 --- /dev/null +++ b/PwmSim68m.h @@ -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 diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..e4b5b5a --- /dev/null +++ b/modular.json @@ -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" + ] + } +} \ No newline at end of file