Начало

This commit is contained in:
cfif 2025-09-23 17:12:43 +03:00
commit 6fc56d1230
2 changed files with 29 additions and 0 deletions

22
Inc/RtcIO.h Normal file
View File

@ -0,0 +1,22 @@
//
// Created by cfif on 17.11.22.
//
#ifndef MODULE_RTCIO_H
#define MODULE_RTCIO_H
#include "stdint.h"
#include <time.h>
typedef uint16_t (*RtcIOTransaction )(void *env, time_t *timestamp);
typedef uint16_t (*RtcIOTransactionTM )(void *env, struct tm *timestampTM);
typedef struct {
void *env;
RtcIOTransaction set;
RtcIOTransaction get;
RtcIOTransactionTM setTM;
RtcIOTransactionTM getTM;
} tRtcIO;
#endif //MODULE_RTCIO_H

7
modular.json Normal file
View File

@ -0,0 +1,7 @@
{
"cmake": {
"inc_dirs": [
"Inc"
]
}
}