PHiLIP
rtc.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020 Kevin Weiss for HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the MIT License. See the
5  * file LICENSE in the top level directory for more details.
6  * SPDX-License-Identifier: MIT
7  */
8 
19 #ifndef RTC_H_
20 #define RTC_H_
21 
22 /* Function prototypes ********************************************************/
30 void init_rtc(map_t *reg);
31 
40 error_t commit_rtc();
41 
45 void update_rtc();
46 
47 #endif /* RTC_H_ */
48 
void update_rtc()
Updates the rtc time.
Definition: rtc.c:121
void init_rtc(map_t *reg)
Initializes rtc registers.
Definition: rtc.c:37
The memory map.
Definition: PHiLIP_typedef.h:340
error_t commit_rtc()
Commits the rtc registers and executes operations.
Definition: rtc.c:84