MT2523 API Reference  LinkIt SDK v4
Enum
HAL » RTC

Overview

Enumerations

enum  hal_rtc_status_t {
  HAL_RTC_STATUS_ERROR = -2,
  HAL_RTC_STATUS_INVALID_PARAM = -1,
  HAL_RTC_STATUS_OK = 0
}
 RTC status. More...
 
enum  hal_rtc_time_notification_period_t {
  HAL_RTC_TIME_NOTIFICATION_NONE = 0,
  HAL_RTC_TIME_NOTIFICATION_EVERY_SECOND = 1,
  HAL_RTC_TIME_NOTIFICATION_EVERY_MINUTE = 2,
  HAL_RTC_TIME_NOTIFICATION_EVERY_HOUR = 3,
  HAL_RTC_TIME_NOTIFICATION_EVERY_DAY = 4,
  HAL_RTC_TIME_NOTIFICATION_EVERY_MONTH = 5,
  HAL_RTC_TIME_NOTIFICATION_EVERY_YEAR = 6
}
 RTC current time change notification period selections. More...
 

Enumeration Type Documentation

RTC status.

Enumerator
HAL_RTC_STATUS_ERROR 

An error occurred.

HAL_RTC_STATUS_INVALID_PARAM 

Invalid parameter is given.

HAL_RTC_STATUS_OK 

The operation completed successfully.

RTC current time change notification period selections.

Enumerator
HAL_RTC_TIME_NOTIFICATION_NONE 

No need for a time notification.

HAL_RTC_TIME_NOTIFICATION_EVERY_SECOND 

Execute a callback function set by hal_rtc_set_time_notification_period() for every second.

HAL_RTC_TIME_NOTIFICATION_EVERY_MINUTE 

Execute a callback function set by hal_rtc_set_time_notification_period() for every minute.

HAL_RTC_TIME_NOTIFICATION_EVERY_HOUR 

Execute a callback function set by hal_rtc_set_time_notification_period() for every hour.

HAL_RTC_TIME_NOTIFICATION_EVERY_DAY 

Execute a callback function set by hal_rtc_set_time_notification_period() for every day.

HAL_RTC_TIME_NOTIFICATION_EVERY_MONTH 

Execute a callback function set by hal_rtc_set_time_notification_period() for every month.

HAL_RTC_TIME_NOTIFICATION_EVERY_YEAR 

Execute a callback function set by hal_rtc_set_time_notification_period() for every year.