PHiLIP
rtc.c File Reference

Controls the rtc peripheral. More...

#include <errno.h>
#include "stm32f1xx_hal.h"
#include "PHiLIP_typedef.h"
#include "port.h"
#include "rtc.h"

Functions

void init_rtc (map_t *reg)
 Initializes rtc registers. More...
 
error_t commit_rtc ()
 Commits the rtc registers and executes operations. More...
 
void update_rtc ()
 Updates the rtc time.
 

Detailed Description

Controls the rtc peripheral.

Author
Kevin Weiss
Date
22.03.2019