Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of OmniWheels by
Functions | |
void | rtc_init (void) |
Initialize the RTC peripheral. | |
void | rtc_free (void) |
Deinitialize RTC. | |
int | rtc_isenabled (void) |
Get the RTC enable status. | |
time_t | rtc_read (void) |
Get the current time from the RTC peripheral. | |
void | rtc_write (time_t t) |
Set the current time to the RTC peripheral. |
Function Documentation
void rtc_free | ( | void | ) |
Deinitialize RTC.
TODO: The function is not used by rtc api in mbed-drivers.
void rtc_init | ( | void | ) |
Initialize the RTC peripheral.
Definition at line 22 of file features/unsupported/tests/KL25Z/rtc/main.cpp.
int rtc_isenabled | ( | void | ) |
Get the RTC enable status.
- Return values:
-
0 disabled 1 enabled
time_t rtc_read | ( | void | ) |
Get the current time from the RTC peripheral.
- Returns:
- The current time
void rtc_write | ( | time_t | t ) |
Set the current time to the RTC peripheral.
- Parameters:
-
t The current time to be set
Generated on Fri Jul 22 2022 04:54:10 by
