Rtc Interface Reference
Rtc.
Public Member Functions | |
| void | setSyncTime (int seconds) throws RtcNotAvailableException, RtcLowLevelException |
| Method to set synchronism time period in seconds. More... | |
| void | setDiffTime (int seconds) throws RtcNotAvailableException, RtcLowLevelException |
| Method to set maximum time in seconds allowed to RTC to be drifted from UTC valid time. More... | |
| ParamConfig | getConfigValues () throws RtcNotAvailableException, RtcLowLevelException |
| Method to get configuration parameters coming from RTC service. More... | |
| Instant | getDateTime () throws RtcNotAvailableException, RtcLowLevelException |
| Method to get date and time coming from RTC service. More... | |
| void | addNewDateSource (String sourceName, RtcDateSource dateSource) throws RtcNotAvailableException, RtcLowLevelException |
| Method to get date and time coming from RTC service. More... | |
| void | deleteDateSource (String sourceName) throws RtcNotAvailableException, RtcLowLevelException |
| Method to get date and time coming from RTC service. More... | |
Member Function Documentation
| void addNewDateSource | ( | String | sourceName, |
| RtcDateSource | dateSource | ||
| ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
- Parameters
-
sourceName source name that will be used for the operation dateSource date source that will be added to the available sources
| void deleteDateSource | ( | String | sourceName | ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
- Parameters
-
sourceName source name that will be used for the operation
| ParamConfig getConfigValues | ( | ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
| Instant getDateTime | ( | ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
| void setDiffTime | ( | int | seconds | ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
- Parameters
-
seconds Time provided in seconds
| void setSyncTime | ( | int | seconds | ) | throws RtcNotAvailableException, RtcLowLevelException |
- Exceptions
-
RtcNotAvailableException RtcLowLevelException
- Parameters
-
seconds Time provided in seconds
