DIY Logging Volt/Ampmeter
|
RTC functionality for high-precision logging voltage/current meter. More...
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | RTC_dateTime_t |
Macros | |
#define | JULIAN_DATE_BASE 2440588 |
Functions | |
void | RTC_Init (void) |
Function to initialize the Real Time Clock. More... | |
void | readFromRTC (void) |
Function to update the RTC data in the struct. More... | |
void | writeToRTC (void) |
Function to update the RTC values according to the data in the struct. More... | |
Variables | |
struct RTC_dateTime_t | rtc |
RTC functionality for high-precision logging voltage/current meter.
Copyright (C) 2021 - Brecht Van Eeckhoudt
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
A copy of the GNU General Public License can be found in the LICENSE
file along with this source code.
Definition in file rtc.h.
#define JULIAN_DATE_BASE 2440588 |
void readFromRTC | ( | void | ) |
Function to update the RTC data in the struct.
void RTC_Init | ( | void | ) |
void writeToRTC | ( | void | ) |
Function to update the RTC values according to the data in the struct.
struct RTC_dateTime_t rtc |