monoZ docs
MZ_rtc.h
Go to the documentation of this file.
1
7#ifndef MZ_RTC_H_
8#define MZ_RTC_H_
9
10#ifdef __cplusplus
11 extern "C" {
12#endif
13
14#include "MZ_error_handler.h"
15
20typedef struct
21{
22 char YY;
23 char MM;
24 char DD;
25 char hh;
26 char mm;
27 char ss;
28 char zz;
30
41
49
57
66#ifdef __cplusplus
67}
68#endif
69#endif /* MZ_RTC_H_ */
monoZ Error Handler
mz_error_t
Enumeration of monoZ Error Flags.
mz_error_t MZ_RTC_set(mzd_time _dt)
This function Sets the Real Time Clock value.
mz_error_t MZ_RTC_Init(mzd_time _dt)
This function initializes monoZ Real Time Clock.
mz_error_t MZ_RTC_ReInit(mzd_time _dt)
This function re-initializes monoZ Real Time Clock.
mz_error_t MZ_RTC_read(mzd_time *_dt)
This function Reads the Real Time Clock value.
Structure for Defining the Date and time for monoZ.
Definition: MZ_rtc.h:21
char MM
Definition: MZ_rtc.h:23
char ss
Definition: MZ_rtc.h:27
char YY
Definition: MZ_rtc.h:22
char zz
Definition: MZ_rtc.h:28
char mm
Definition: MZ_rtc.h:26
char DD
Definition: MZ_rtc.h:24
char hh
Definition: MZ_rtc.h:25