From c9414df91f62eae56e810f05dd06564e09d9491c Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 13 Oct 2025 10:12:50 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Inc/PwmIO.h | 18 ++++++++++++++++++ modular.json | 7 +++++++ 2 files changed, 25 insertions(+) create mode 100644 Inc/PwmIO.h create mode 100644 modular.json diff --git a/Inc/PwmIO.h b/Inc/PwmIO.h new file mode 100644 index 0000000..b7b4e7d --- /dev/null +++ b/Inc/PwmIO.h @@ -0,0 +1,18 @@ +// +// Created by cfif on 17.11.22. +// + +#ifndef MODULE_PWMIO_H +#define MODULE_PWMIO_H + +#include "stdint.h" + +typedef void (*PwmIOTransaction )(void *env); + +typedef struct { + void *env; + PwmIOTransaction run; +} tPwmIO; + + +#endif //MODULE_PWMIO_H diff --git a/modular.json b/modular.json new file mode 100644 index 0000000..9bdd478 --- /dev/null +++ b/modular.json @@ -0,0 +1,7 @@ +{ + "cmake": { + "inc_dirs": [ + "Inc" + ] + } +} \ No newline at end of file