Rtc_ARTERY_AT32F435_437/Inc/RtcArtery.h

30 lines
396 B
C

//
// Created by cfif on 17.11.22.
//
#ifndef RTC_ARTERY_H
#define RTC_ARTERY_H
#include "Rtc.h"
#include "cmsis_os2.h"
typedef struct {
#ifdef ACCESS_RTC
osMutexId_t access;
#endif
} tRtcArtery;
void RtcArtery_Init(tRtcArtery *env);
tRtcIO RtcArtery_GetIo(tRtcArtery *env);
///deprecated
tRtcArtery vRtcInit();
///deprecated
#define vRtcGetIo RtcArtery_GetIo
#endif //RTC_ARTERY_H