VSF Documented
sthal_rtc.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2024 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __ST_HAL_RTC_H__
19#define __ST_HAL_RTC_H__
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#if defined(HAL_RTC_MODULE_ENABLED) && VSF_HAL_USE_RTC == ENABLED
26
27/*============================ INCLUDES ======================================*/
28
29#include "sthal_def.h"
30
31/*============================ MACROS ========================================*/
32/*============================ MACROFIED FUNCTIONS ===========================*/
33/*============================ TYPES =========================================*/
34
35typedef vsf_rtc_t RTC_TypeDef;
36
37typedef enum {
38 HAL_RTC_STATE_RESET = 0x00U,
39 HAL_RTC_STATE_READY = 0x01U,
40 HAL_RTC_STATE_BUSY = 0x02U,
41 HAL_RTC_STATE_TIMEOUT = 0x03U,
42 HAL_RTC_STATE_ERROR = 0x04U,
43} HAL_RTCStateTypeDef;
44
45typedef struct {
46 uint32_t HourFormat;
47 uint32_t AsynchPrediv;
48 uint32_t SynchPrediv;
49 uint32_t OutPut;
50 uint32_t OutPutPolarity;
51 uint32_t OutPutType;
52} RTC_InitTypeDef;
53
54typedef struct {
55 uint8_t Hours;
56 uint8_t Minutes;
57 uint8_t Seconds;
58 uint8_t TimeFormat;
59 uint32_t SubSeconds;
60 uint32_t SecondFraction;
61 uint32_t DayLightSaving;
62 uint32_t StoreOperation;
63} RTC_TimeTypeDef;
64
65typedef struct {
66 uint8_t WeekDay;
67 uint8_t Month;
68 uint8_t Date;
69 uint8_t Year;
70} RTC_DateTypeDef;
71
72typedef struct {
73 RTC_TimeTypeDef AlarmTime;
74 uint32_t AlarmMask;
75 uint32_t AlarmSubSecondMask;
76 uint32_t AlarmDateWeekDaySel;
77 uint8_t AlarmDateWeekDay;
78 uint32_t Alarm;
79} RTC_AlarmTypeDef;
80
81#if (USE_HAL_RTC_REGISTER_CALLBACKS == 1)
82typedef struct __RTC_HandleTypeDef {
83#else
84typedef struct {
85#endif
86 RTC_TypeDef *Instance;
87 RTC_InitTypeDef Init;
88 HAL_LockTypeDef Lock;
89 volatile HAL_RTCStateTypeDef State;
90#if (USE_HAL_RTC_REGISTER_CALLBACKS == 1)
91 void (*AlarmAEventCallback)(struct __RTC_HandleTypeDef *hrtc);
92 void (*AlarmBEventCallback)(struct __RTC_HandleTypeDef *hrtc);
93 void (*TimeStampEventCallback)(struct __RTC_HandleTypeDef *hrtc);
94 void (*WakeUpTimerEventCallback)(struct __RTC_HandleTypeDef *hrtc);
95 void (*Tamper1EventCallback)(struct __RTC_HandleTypeDef *hrtc);
96# if defined(RTC_TAMPER2_SUPPORT)
97 void (*Tamper2EventCallback)(struct __RTC_HandleTypeDef *hrtc);
98# endif
99 void (*MspInitCallback)(struct __RTC_HandleTypeDef *hrtc);
100 void (*MspDeInitCallback)(struct __RTC_HandleTypeDef *hrtc);
101#endif
102} RTC_HandleTypeDef;
103
104#if (USE_HAL_RTC_REGISTER_CALLBACKS == 1)
105typedef enum {
106 HAL_RTC_ALARM_A_EVENT_CB_ID = 0x00U,
107 HAL_RTC_ALARM_B_EVENT_CB_ID = 0x01U,
108 HAL_RTC_TIMESTAMP_EVENT_CB_ID = 0x02U,
109 HAL_RTC_WAKEUPTIMER_EVENT_CB_ID = 0x03U,
110 HAL_RTC_TAMPER1_EVENT_CB_ID = 0x04U,
111# if defined(RTC_TAMPER2_SUPPORT)
112 HAL_RTC_TAMPER2_EVENT_CB_ID = 0x05U,
113# endif
114 HAL_RTC_MSPINIT_CB_ID = 0x0EU,
115 HAL_RTC_MSPDEINIT_CB_ID = 0x0FU,
116} HAL_RTC_CallbackIDTypeDef;
117
118typedef void (*pRTC_CallbackTypeDef)(RTC_HandleTypeDef *hrtc);
119#endif
120
121typedef struct {
122 uint32_t Tamper;
123 uint32_t PinSelection;
124 uint32_t Trigger;
125 uint32_t Filter;
126 uint32_t SamplingFrequency;
127 uint32_t PrechargeDuration;
128 uint32_t TamperPullUp;
129 uint32_t TimeStampOnTamperDetection;
130} RTC_TamperTypeDef;
131
132/*============================ GLOBAL VARIABLES ==============================*/
133/*============================ PROTOTYPES ====================================*/
134
135HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc);
136HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc);
137void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc);
138void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc);
139
140#if (USE_HAL_RTC_REGISTER_CALLBACKS == 1)
141HAL_StatusTypeDef HAL_RTC_RegisterCallback(RTC_HandleTypeDef *hrtc,
142 HAL_RTC_CallbackIDTypeDef CallbackID,
143 pRTC_CallbackTypeDef pCallback);
144HAL_StatusTypeDef HAL_RTC_UnRegisterCallback(
145 RTC_HandleTypeDef *hrtc, HAL_RTC_CallbackIDTypeDef CallbackID);
146#endif
147
148HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc,
149 RTC_TimeTypeDef *sTime, uint32_t Format);
150HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc,
151 RTC_TimeTypeDef *sTime, uint32_t Format);
152HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc,
153 RTC_DateTypeDef *sDate, uint32_t Format);
154HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc,
155 RTC_DateTypeDef *sDate, uint32_t Format);
156
157HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc,
158 RTC_AlarmTypeDef *sAlarm, uint32_t Format);
159HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc,
160 RTC_AlarmTypeDef *sAlarm,
161 uint32_t Format);
162HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc,
163 uint32_t Alarm);
164HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc,
165 RTC_AlarmTypeDef *sAlarm, uint32_t Alarm,
166 uint32_t Format);
167void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc);
168HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc,
169 uint32_t Timeout);
170void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc);
171
172HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef *hrtc);
173
174void HAL_RTC_DST_Add1Hour(RTC_HandleTypeDef *hrtc);
175void HAL_RTC_DST_Sub1Hour(RTC_HandleTypeDef *hrtc);
176void HAL_RTC_DST_SetStoreOperation(RTC_HandleTypeDef *hrtc);
177void HAL_RTC_DST_ClearStoreOperation(RTC_HandleTypeDef *hrtc);
178uint32_t HAL_RTC_DST_ReadStoreOperation(RTC_HandleTypeDef *hrtc);
179
180HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc);
181
182HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef *hrtc);
183HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc);
186
187HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc,
188 uint32_t RTC_TimeStampEdge,
189 uint32_t RTC_TimeStampPin);
190HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc,
191 uint32_t RTC_TimeStampEdge,
192 uint32_t RTC_TimeStampPin);
193HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc);
194HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc,
195 RTC_TimeTypeDef *sTimeStamp,
196 RTC_DateTypeDef *sTimeStampDate,
197 uint32_t Format);
198
199HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc,
200 RTC_TamperTypeDef *sTamper);
201HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc,
202 RTC_TamperTypeDef *sTamper);
203HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc,
204 uint32_t Tamper);
205void HAL_RTCEx_TamperTimeStampIRQHandler(RTC_HandleTypeDef *hrtc);
206
207void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc);
208#if defined(RTC_TAMPER2_SUPPORT)
209void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc);
210#endif /* RTC_TAMPER2_SUPPORT */
211void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc);
213 uint32_t Timeout);
215 uint32_t Timeout);
216#if defined(RTC_TAMPER2_SUPPORT)
217HAL_StatusTypeDef HAL_RTCEx_PollForTamper2Event(RTC_HandleTypeDef *hrtc,
218 uint32_t Timeout);
219#endif /* RTC_TAMPER2_SUPPORT */
220
221HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc,
222 uint32_t WakeUpCounter,
223 uint32_t WakeUpClock);
224HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc,
225 uint32_t WakeUpCounter,
226 uint32_t WakeUpClock);
228uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc);
229void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc);
230void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc);
232 uint32_t Timeout);
233void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister,
234 uint32_t Data);
235uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister);
236
237HAL_StatusTypeDef HAL_RTCEx_SetCoarseCalib(RTC_HandleTypeDef *hrtc,
238 uint32_t CalibSign, uint32_t Value);
241 RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod,
242 uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue);
243HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc,
244 uint32_t ShiftAdd1S,
245 uint32_t ShiftSubFS);
247 uint32_t CalibOutput);
249 RTC_HandleTypeDef *hrtc);
250HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc);
251HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc);
252HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc);
253HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc);
254void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc);
255HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc,
256 uint32_t Timeout);
257
258#endif /* defined(HAL_RTC_MODULE_ENABLED) && VSF_HAL_USE_RTC == ENABLED */
259
260#ifdef __cplusplus
261}
262#endif
263
264#endif
vsf_err_t(* Init)(vsf_adc_cfg_t *pCfg)
Definition adc_interface.h:38
unsigned uint32_t
Definition stdint.h:9
unsigned char uint8_t
Definition stdint.h:5
HAL_StatusTypeDef
Definition sthal_def.h:61
HAL_LockTypeDef
Definition sthal_def.h:68
HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef *hrtc, uint32_t ShiftAdd1S, uint32_t ShiftSubFS)
Definition sthal_rtc.c:446
HAL_StatusTypeDef HAL_RTC_GetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format)
Definition sthal_rtc.c:206
HAL_StatusTypeDef HAL_RTCEx_SetCoarseCalib(RTC_HandleTypeDef *hrtc, uint32_t CalibSign, uint32_t Value)
Definition sthal_rtc.c:426
void HAL_RTC_AlarmAEventCallback(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:240
HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
Definition sthal_rtc.c:409
HAL_StatusTypeDef HAL_RTC_DeactivateAlarm(RTC_HandleTypeDef *hrtc, uint32_t Alarm)
Definition sthal_rtc.c:224
HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:315
HAL_StatusTypeDef HAL_RTC_DeInit(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:43
void HAL_RTC_DST_Add1Hour(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:256
uint8_t RTC_ByteToBcd2(uint8_t number)
Definition sthal_rtc.c:284
HAL_StatusTypeDef RTC_ExitInitMode(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:279
uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
Definition sthal_rtc.c:421
HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef *hrtc, uint32_t SmoothCalibPeriod, uint32_t SmoothCalibPlusPulses, uint32_t SmoothCalibMinusPulsesValue)
Definition sthal_rtc.c:438
HAL_StatusTypeDef HAL_RTC_GetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Alarm, uint32_t Format)
Definition sthal_rtc.c:230
HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper)
Definition sthal_rtc.c:336
HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef *sTamper)
Definition sthal_rtc.c:329
HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef *hrtc)
HAL_StatusTypeDef RTC_EnterInitMode(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:274
HAL_RTCStateTypeDef HAL_RTC_GetState(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:269
HAL_StatusTypeDef HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:394
void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:405
HAL_StatusTypeDef HAL_RTC_WaitForSynchro(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:251
HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTimeStamp, RTC_DateTypeDef *sTimeStampDate, uint32_t Format)
Definition sthal_rtc.c:320
HAL_StatusTypeDef HAL_RTC_SetDate(RTC_HandleTypeDef *hrtc, RTC_DateTypeDef *sDate, uint32_t Format)
Definition sthal_rtc.c:200
void HAL_RTCEx_TamperTimeStampIRQHandler(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:350
HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:474
HAL_StatusTypeDef HAL_RTCEx_DeactivateCoarseCalib(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:433
uint8_t RTC_Bcd2ToByte(uint8_t number)
Definition sthal_rtc.c:295
void HAL_RTC_DST_Sub1Hour(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:258
HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:468
void HAL_RTC_MspDeInit(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:183
HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock)
Definition sthal_rtc.c:386
uint32_t HAL_RTC_DST_ReadStoreOperation(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:264
void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:486
HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t RTC_TimeStampEdge, uint32_t RTC_TimeStampPin)
Definition sthal_rtc.c:302
HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t RTC_TimeStampEdge, uint32_t RTC_TimeStampPin)
Definition sthal_rtc.c:308
HAL_StatusTypeDef HAL_RTC_Init(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:33
HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:480
HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_t WakeUpClock)
Definition sthal_rtc.c:378
HAL_StatusTypeDef HAL_RTC_SetAlarm_IT(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format)
Definition sthal_rtc.c:218
void HAL_RTC_AlarmIRQHandler(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:237
void HAL_RTC_DST_ClearStoreOperation(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:262
void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:407
void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:357
void HAL_RTC_DST_SetStoreOperation(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:260
HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:462
void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:352
HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
Definition sthal_rtc.c:365
uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:400
HAL_StatusTypeDef HAL_RTC_GetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format)
Definition sthal_rtc.c:194
HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
Definition sthal_rtc.c:488
HAL_StatusTypeDef HAL_RTC_PollForAlarmAEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
Definition sthal_rtc.c:245
void HAL_RTC_MspInit(RTC_HandleTypeDef *hrtc)
Definition sthal_rtc.c:177
HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper)
Definition sthal_rtc.c:343
void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
Definition sthal_rtc.c:416
HAL_StatusTypeDef HAL_RTC_SetAlarm(RTC_HandleTypeDef *hrtc, RTC_AlarmTypeDef *sAlarm, uint32_t Format)
Definition sthal_rtc.c:212
HAL_StatusTypeDef HAL_RTC_SetTime(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef *sTime, uint32_t Format)
Definition sthal_rtc.c:188
HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef *hrtc, uint32_t CalibOutput)
Definition sthal_rtc.c:453
HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
Definition sthal_rtc.c:359
RTC instance structure, used for RTC Multi Class support, not needed in non Multi Class mode.
Definition vsf_template_rtc.h:406
Generated from commit: vsfteam/vsf@0c4049f