From 430721f0f553c8d0ae54166a69204075c3f6a137 Mon Sep 17 00:00:00 2001 From: cfif Date: Tue, 23 Sep 2025 17:12:43 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B0=D1=87=D0=B0=D0=BB=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PowerManagement.c | 11 +++++++++++ PowerManagement.h | 24 ++++++++++++++++++++++++ modular.json | 10 ++++++++++ 3 files changed, 45 insertions(+) create mode 100644 PowerManagement.c create mode 100644 PowerManagement.h create mode 100644 modular.json diff --git a/PowerManagement.c b/PowerManagement.c new file mode 100644 index 0000000..e58e553 --- /dev/null +++ b/PowerManagement.c @@ -0,0 +1,11 @@ +// +// Created by cfif on 05.05.23. +// +#include +#include "PowerManagement.h" + +void Pwm_Init( + tPowerManagement *env +) { + +} diff --git a/PowerManagement.h b/PowerManagement.h new file mode 100644 index 0000000..6b9ce00 --- /dev/null +++ b/PowerManagement.h @@ -0,0 +1,24 @@ +// +// Created by cfif on 05.05.23. +// + +#ifndef WATER_BOX_BSD_POWERMANAGEMENT_H +#define WATER_BOX_BSD_POWERMANAGEMENT_H + +#include "GpioPin.h" + +typedef struct { + tGpioPin ledR; + tGpioPin ledG; + tGpioPin ledB; +} tLed; + +typedef struct { + +} tPowerManagement; + +void Pwm_Init( + tPowerManagement *env +); + +#endif //WATER_BOX_BSD_POWERMANAGEMENT_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..0dd1901 --- /dev/null +++ b/modular.json @@ -0,0 +1,10 @@ +{ + "cmake": { + "inc_dirs": [ + "./" + ], + "srcs": [ + "./**.c" + ] + } +} \ No newline at end of file