mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 03:44:30 +03:00
add time setter and calibration to RTC
This commit is contained in:
@@ -34,3 +34,7 @@ typedef struct{
|
||||
void rtc_setup();
|
||||
|
||||
void get_curtime(rtc_t *t);
|
||||
int rtc_setdate(rtc_t *d);
|
||||
int rtc_settime(rtc_t *t);
|
||||
int rtc_setcalib(int calval);
|
||||
int rtc_getcalib();
|
||||
Reference in New Issue
Block a user