30 lines
416 B
C
30 lines
416 B
C
//
|
|
// Created by cfif on 17.11.22.
|
|
//
|
|
|
|
#ifndef RTC_FLAGCHIP_H
|
|
#define RTC_FLAGCHIP_H
|
|
|
|
#include "Rtc.h"
|
|
#include "cmsis_os2.h"
|
|
|
|
typedef struct {
|
|
|
|
#ifdef ACCESS_RTC
|
|
osMutexId_t access;
|
|
#endif
|
|
|
|
} tRtcFlagchip;
|
|
|
|
void RtcFlagchip_Init(tRtcFlagchip *env);
|
|
|
|
tRtcIO RtcFlagchip_GetIo(tRtcFlagchip *env);
|
|
|
|
///deprecated
|
|
tRtcFlagchip vRtcInit();
|
|
|
|
///deprecated
|
|
#define vRtcGetIo RtcFlagchip_GetIo
|
|
|
|
#endif //RTC_FLAGCHIP_H
|