Select one of the symbols to view example projects that use it.
 
Outline
#define __K_RTC_H
Includes
#include "main.h"
#include "DIALOG.h"
k_CalendarBkupInit();
k_BkupSaveParameter(uint32_t, uint32_t);
k_BkupRestoreParameter(uint32_t);
k_SetTime(RTC_TimeTypeDef *);
k_GetTime(RTC_TimeTypeDef *);
k_SetDate(RTC_DateTypeDef *);
k_GetDate(RTC_DateTypeDef *);
Files
loading...
CodeScopeSTM32 Libraries and SamplesMB1063Core/Inc/k_rtc.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file k_rtc.h * @author MCD Application Team * @brief Header for k_rtc.c file ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __K_RTC_H #define __K_RTC_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "main.h" #include "DIALOG.h" Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Exported macros -----------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ void k_CalendarBkupInit(void); void k_BkupSaveParameter(uint32_t address, uint32_t data); uint32_t k_BkupRestoreParameter(uint32_t address); void k_SetTime (RTC_TimeTypeDef *Time); void k_GetTime (RTC_TimeTypeDef *Time); void k_SetDate (RTC_DateTypeDef *Date); void k_GetDate (RTC_DateTypeDef *Date); #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /*__K_RTC_H */