|
GPS Device
|
Functions | |
| ERR_te | rtc_init (void) |
| Initializes the RTC peripheral. | |
| void | rtc_set_calendar (CALENDAR_ts const *date) |
| Sets the RTC calendar (date and weekday). | |
| void | rtc_set_time (TIME_ts const *time) |
| Sets the RTC time (hours, minutes, seconds). | |
| void | rtc_get_time (TIME_ts *time) |
| Reads the current time from the RTC. | |
| ERR_te rtc_init | ( | void | ) |
Initializes the RTC peripheral.
Definition at line 49 of file stm32f401re_rtc.c.


| void rtc_set_calendar | ( | CALENDAR_ts const * | date | ) |
Sets the RTC calendar (date and weekday).
Definition at line 109 of file stm32f401re_rtc.c.


| void rtc_set_time | ( | TIME_ts const * | time | ) |
Sets the RTC time (hours, minutes, seconds).
Definition at line 131 of file stm32f401re_rtc.c.


| void rtc_get_time | ( | TIME_ts * | time | ) |
Reads the current time from the RTC.
Definition at line 149 of file stm32f401re_rtc.c.
