Init
This commit is contained in:
commit
50ad98c5f9
|
|
@ -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
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"cmake": {
|
||||||
|
"inc_dirs": [
|
||||||
|
"Inc"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue