|  | WE310F5
    39.00.000
    | 
RTC module prototypes. More...
Go to the source code of this file.
| Data Structures | |
| struct | M2MB_RTC_TIME_T | 
| Structure to represent RTC time.  More... | |
| Functions | |
| M2MB_STATUS_T | m2mb_core_rtc_time_set (M2MB_RTC_TIME_T *pTm) | 
| Setting time to RTC module.  More... | |
| M2MB_STATUS_T | m2mb_core_rtc_time_get (M2MB_RTC_TIME_T *pTm) | 
| Getting time from RTC module.  More... | |
| M2MB_STATUS_T | m2mb_core_rtc_gps_epoch_get (uint64_t *ms) | 
| Getting time from RTC module since GPS Epoch.  More... | |
| M2MB_STATUS_T | m2mb_core_rtc_default_time_set (VOID) | 
| Setting default time to RTC module.  More... | |
RTC module prototypes.
we866e4/epl/inc/modules/m2mb_rtc_time.h
Basic functions for RTC module are provided
Definition in file m2mb_rtc_time.h.
| M2MB_STATUS_T m2mb_core_rtc_default_time_set | ( | VOID | ) | 
Setting default time to RTC module.
This API sets default time (01/01/2000,00:00:00+03) in Julian format to the RTC module
| M2MB_STATUS_T m2mb_core_rtc_gps_epoch_get | ( | uint64_t * | ms | ) | 
Getting time from RTC module since GPS Epoch.
Gets the time in milliseconds since the GPS Epoch.
| [out] | ms | Pointer to a ULONG64 to contain the GPS Epoch time in ms | 
m2mb_core_rtc_gps_epoch_get(&ms);
| M2MB_STATUS_T m2mb_core_rtc_time_get | ( | M2MB_RTC_TIME_T * | pTm | ) | 
Getting time from RTC module.
This service gets time in Julian format from the RTC module
| [out] | pTm | Pointer to a buffer to contain the Julian time. | 
| M2MB_STATUS_T m2mb_core_rtc_time_set | ( | M2MB_RTC_TIME_T * | pTm | ) | 
Setting time to RTC module.
This API sets time in Julian format to the RTC module
| [out] | pTm | Pointer to a structure of type M2MB_RTC_TIME_T containing the Julian time. | 
m2mb_core_rtc_time_set(&tm);